Set a temporary hold on an object | Cloud Storage
文章推薦指數: 80 %
To search and filter code samples for other Google Cloud products, see the Google Cloud sample browser. Was this helpful? WhyGoogle close DiscoverwhyleadingbusinesseschooseGoogleCloud Whetheryourbusinessisearlyinitsjourneyorwellonitswaytodigitaltransformation,GoogleCloudcanhelpyousolveyourtoughestchallenges. Learnmore Keybenefits Overview Topreasonsbusinesseschooseus. Multicloud Runyourappswhereveryouneedthem. Trustandsecurity Keepyourdatasecureandcompliant. Globalinfrastructure BuildonthesameinfrastructureasGoogle. Datacloud Unifydataacrossyourorganization. Opencloud Scalewithopen,flexibletechnology. Sustainability Runonthecleanestcloudintheindustry. Productivityandcollaboration ConnectyourteamswithAI-poweredapps. Resources Events BrowseupcomingGoogleCloudevents. Blog Readourlatestproductnewsandstories. Customerstories Explorecasestudiesandvideos. Analystreports Readwhatindustryanalystssayaboutus. Solutions close IndustrySolutions Reducecost,increaseoperationalagility,andcapturenewmarketopportunities. Retail Analyticsandcollaborationtoolsfortheretailvaluechain. ConsumerPackagedGoods SolutionsforCPGdigitaltransformationandbrandgrowth. FinancialServices Computing,datamanagement,andanalyticstoolsforfinancialservices. HealthcareandLifeSciences Health-specificsolutionstoenhancethepatientexperience. MediaandEntertainment Solutionsforcontentproductionanddistributionoperations. Telecommunications Hybridandmulti-cloudservicestodeployandmonetize5G. Gaming AI-drivensolutionstobuildandscalegamesfaster. Manufacturing MigrationandAItoolstooptimizethemanufacturingvaluechain. SupplyChainandLogistics Digitalsupplychainsolutionsbuiltinthecloud. Government Datastorage,AI,andanalyticssolutionsforgovernmentagencies. Education Teachingtoolstoprovidemoreengaginglearningexperiences. Notseeingwhatyou'relookingfor? Seeallindustrysolutions Notseeingwhatyou'relookingfor? Seeallsolutions ApplicationModernization Developandrunapplicationsanywhere,usingcloud-nativetechnologieslikecontainers,serverless,andservicemesh. HybridandMulti-cloudApplicationPlatform Platformformodernizinglegacyappsandbuildingnewapps. Cloud-NativeAppDevelopment End-to-endsolutionforbuilding,deploying,andmanagingapps. APIManagement AccelerateapplicationdesignanddevelopmentwithanAPI-firstapproach. ServerlessSolutions Fullymanagedenvironmentfordeveloping,deployingandscalingapps. DevOps ProcessesandresourcesforimplementingDevOpsinyourorg. ContinuousDelivery(CD) End-to-endautomationfromsourcetoproduction. ContinuousIntegration(CI) Fastfeedbackoncodechangesatscale. MainframeModernization Automatedtoolsandprescriptiveguidanceformovingtothecloud. CAMP ProgramthatusesDORAtoimproveyoursoftwaredeliverycapabilities. Hosting Servicesandinfrastructureforbuildingwebappsandwebsites. SiteReliabilityEngineering(SRE) ToolsandresourcesforadoptingSREinyourorg. ArtificialIntelligence AddintelligenceandefficiencytoyourbusinesswithAIandmachinelearning. BuildanduseAI Productstobuildanduseartificialintelligence. ContactCenterAI AImodelforspeakingwithcustomersandassistinghumanagents. AgentAssist AI-poweredconversationswithhumanagents. CloudTalentSolution AIwithjobsearchandtalentacquisitioncapabilities. DocumentAI MachinelearningandAItounlockinsightsfromyourdocuments. LendingDocAI Mortgagedocumentdatacaptureatscalewithmachinelearning. ProcurementDocAI Procurementdocumentdatacaptureatscalewithmachinelearning. Intelligentproducts CreateengagingproductownershipexperienceswithAI. DataScience PutyourdatatoworkwithDataScienceonGoogleCloud. ContractDocAI SpecializedAIforbetteringcontractunderstanding. ContactCenterAIInsights AI-poweredunderstandingtobettercustomerexperience. BusinessApplicationPlatform Speedupthepaceofinnovationwithoutcoding,usingAPIs,apps,andautomation. NewBusinessChannelsUsingAPIs Attractandempoweranecosystemofdevelopersandpartners. UnlockingLegacyApplicationsUsingAPIs Cloudservicesforextendingandmodernizinglegacyapps. OpenBankingAPIx SimplifyandacceleratesecuredeliveryofopenbankingcompliantAPIs. Databases Migrateandmanageenterprisedatawithsecurity,reliability,highavailability,andfullymanageddataservices. DatabaseMigration Guidesandtoolstosimplifyyourdatabasemigrationlifecycle. DatabaseModernization Upgradestomodernizeyouroperationaldatabaseinfrastructure. GoogleCloudDatabases Databaseservicestomigrate,manage,andmodernizedata. MigrateOracleworkloadstoGoogleCloud Rehost,replatform,rewriteyourOracleworkloads. OpenSourceDatabases Fullymanagedopensourcedatabaseswithenterprise-gradesupport. SQLServeronGoogleCloud OptionsforrunningSQLServervirtualmachinesonGoogleCloud. DataCloud Unifydataacrossyourorganizationwithanopenandsimplifiedapproachtodata-driventransformationthatisunmatchedforspeed,scale,andsecuritywithAIbuilt-in. Databasessolutions Migrateandmanageenterprisedatawithsecurity,reliability,highavailability,andfullymanageddataservices. Smartanalyticssolutions Generateinstantinsightsfromdataatanyscalewithaserverless,fullymanagedanalyticsplatformthatsignificantlysimplifiesanalytics. AIsolutions AddintelligenceandefficiencytoyourbusinesswithAIandmachinelearning. DigitalTransformation Acceleratebusinessrecoveryandensureabetterfuturewithsolutionsthatenablehybridandmulti-cloud,generateintelligentinsights,andkeepyourworkersconnected. BusinessContinuity Proactivelyplanandprioritizeworkloads. DigitalInnovation Reimagineyouroperationsandunlocknewopportunities. OperationalEfficiency Prioritizeinvestmentsandoptimizecosts. COVID-19Solutions Getworkdonemoresafelyandsecurely. COVID-19SolutionsfortheHealthcareIndustry HowGoogleishelpinghealthcaremeetextraordinarychallenges. InfrastructureModernization MigratequicklywithsolutionsforSAP,VMware,Windows,Oracle,andotherworkloads. ApplicationMigration Discoveryandanalysistoolsformovingtothecloud. SAPonGoogleCloud CertificationsforrunningSAPapplicationsandSAPHANA. HighPerformanceComputing Compute,storage,andnetworkingoptionstosupportanyworkload. WindowsonGoogleCloud ToolsandpartnersforrunningWindowsworkloads. DataCenterMigration MigrationsolutionsforVMs,apps,databases,andmore. ActiveAssist Automaticcloudresourceoptimizationandincreasedsecurity. VirtualDesktops Remoteworksolutionsfordesktopsandapplications(VDI&DaaS). RapidAssessment&MigrationProgram(RAMP) End-to-endmigrationprogramtosimplifyyourpathtothecloud. BackupandDisasterRecovery Ensureyourbusinesscontinuityneedsaremet. ProductivityandCollaboration Changethewayteamsworkwithsolutionsdesignedforhumansandbuiltforimpact. GoogleWorkspace Collaborationandproductivitytoolsforenterprises. GoogleWorkspaceEssentials Securevideomeetingsandmoderncollaborationforteams. CloudIdentity UnifiedplatformforITadminstomanageuserdevicesandapps. ChromeEnterprise ChromeOS,ChromeBrowser,andChromedevicesbuiltforbusiness. CloudSearch Enterprisesearchforemployeestoquicklyfindcompanyinformation. Security Detect,investigate,andrespondtoonlinethreatstohelpprotectyourbusiness. SecurityAnalyticsandOperations Solutionforanalyzingpetabytesofsecuritytelemetry. WebAppandAPIProtection ThreatandfraudprotectionforyourwebapplicationsandAPIs. SecurityandResilienceFramework Solutionsforeachphaseofthesecurityandresiliencelifecycle. Riskandcomplianceascode(RCaC) Solutiontomodernizeyourgovernance,risk,andcompliancefunctionwithautomation. SmartAnalytics Generateinstantinsightsfromdataatanyscalewithaserverless,fullymanagedanalyticsplatformthatsignificantlysimplifiesanalytics. DataWarehouseModernization Datawarehousetojumpstartyourmigrationandunlockinsights. DataLakeModernization Servicesforbuildingandmodernizingyourdatalake. SparkonGoogleCloud RunandwriteSparkwhereyouneedit,serverlessandintegrated. StreamAnalytics Insightsfromingesting,processing,andanalyzingeventstreams. BusinessIntelligence SolutionsformodernizingyourBIstackandcreatingrichdataexperiences. DataScience PutyourdatatoworkwithDataScienceonGoogleCloud. MarketingAnalytics Solutionsforcollecting,analyzing,andactivatingcustomerdata. GeospatialAnalyticsandAI Solutionsforbuildingamoreprosperousandsustainablebusiness. Datasets DatafromGoogle,public,andcommercialproviderstoenrichyouranalyticsandAIinitiatives. StartupsandSMB AcceleratestartupandSMBgrowthwithtailoredsolutionsandprograms. StartupSolutions GrowyourstartupandsolveyourtoughestchallengesusingGoogle’sproventechnology. StartupProgram Getfinancial,business,andtechnicalsupporttotakeyourstartuptothenextlevel. SmallandMediumBusiness Exploresolutionsforwebhosting,appdevelopment,AI,andanalytics. SoftwareasaService BuildbetterSaaSproducts,scaleefficiently,andgrowyourbusiness. Products close FeaturedProducts ComputeEngine VirtualmachinesrunninginGoogle’sdatacenter. CloudStorage Objectstoragethat’ssecure,durable,andscalable. CloudSDK Command-linetoolsandlibrariesforGoogleCloud. CloudSQL RelationaldatabaseserviceforMySQL,PostgreSQLandSQLServer. GoogleKubernetesEngine Managedenvironmentforrunningcontainerizedapps. BigQuery Datawarehouseforbusinessagilityandinsights. CloudCDN Contentdeliverynetworkfordeliveringwebandvideo. Dataflow Streaminganalyticsforstreamandbatchprocessing. Operations Monitoring,logging,andapplicationperformancesuite. CloudRun Fullymanagedenvironmentforrunningcontainerizedapps. Anthos Platformformodernizingexistingappsandbuildingnewones. Notseeingwhatyou'relookingfor? Seeallproducts(100+) AIandMachineLearning VertexAI UnifiedMLPlatformfortraining,hosting,andmanagingMLmodels. Speech-to-Text Speechrecognitionandtranscriptionsupporting125languages. VisionAI Customandpre-trainedmodelstodetectemotion,text,more. Text-to-Speech Speechsynthesisin220+voicesand40+languages. CloudTranslation Languagedetection,translation,andglossarysupport. CloudNaturalLanguage Sentimentanalysisandclassificationofunstructuredtext. AutoML Custommachinelearningmodeltraininganddevelopment. VideoAI Videoclassificationandrecognitionusingmachinelearning. AIInfrastructure Optionsforeverybusinesstotraindeeplearningandmachinelearningmodelscost-effectively. Dialogflow Conversationapplicationsandsystemsdevelopmentsuiteforvirtualagents. AutoMLTables ServicefortrainingMLmodelswithstructureddata. Notseeingwhatyou'relookingfor? SeeallAIandmachinelearningproducts APIManagement ApigeeAPIManagement ManagethefulllifecycleofAPIsanywherewithvisibilityandcontrol. ApigeeIntegration API-firstintegrationtoconnectexistingdataandapplications. CloudEndpoints DeploymentanddevelopmentmanagementforAPIsonGoogleCloud. CloudHealthcareAPI SolutiontobridgeexistingcaresystemsandappsonGoogleCloud. AppSheet No-codedevelopmentplatformtobuildandextendapplications. APIGateway Develop,deploy,secure,andmanageAPIswithafullymanagedgateway. Compute ComputeEngine VirtualmachinesrunninginGoogle’sdatacenter. AppEngine Serverlessapplicationplatformforappsandbackends. CloudGPUs GPUsforML,scientificcomputing,and3Dvisualization. MigrateforComputeEngine ServerandvirtualmachinemigrationtoComputeEngine. SpotVMs Computeinstancesforbatchjobsandfault-tolerantworkloads. ShieldedVMs ReinforcedvirtualmachinesonGoogleCloud. Sole-TenantNodes Dedicatedhardwareforcompliance,licensing,andmanagement. BareMetal InfrastructuretorunspecializedworkloadsonGoogleCloud. Recommender UsagerecommendationsforGoogleCloudproductsandservices. VMwareEngine Fullymanaged,nativeVMwareCloudFoundationsoftwarestack. CloudRun Fullymanagedenvironmentforrunningcontainerizedapps. Notseeingwhatyou'relookingfor? Seeallcomputeproducts Containers GoogleKubernetesEngine Managedenvironmentforrunningcontainerizedapps. ContainerRegistry Registryforstoring,managing,andsecuringDockerimages. ContainerSecurity Containerenvironmentsecurityforeachstageofthelifecycle. CloudBuild SolutionforrunningbuildstepsinaDockercontainer. DeepLearningContainers Containerswithdatascienceframeworks,libraries,andtools. KubernetesApplications Containerizedappswithprebuiltdeploymentandunifiedbilling. ArtifactRegistry Packagemanagerforbuildartifactsanddependencies. Knative ComponentstocreateKubernetes-nativecloud-basedsoftware. CloudRun Fullymanagedenvironmentforrunningcontainerizedapps. CloudCode IDEsupporttowrite,run,anddebugKubernetesapplications. DataAnalytics BigQuery Datawarehouseforbusinessagilityandinsights. Looker PlatformforBI,dataapplications,andembeddedanalytics. Dataflow Streaminganalyticsforstreamandbatchprocessing. Pub/Sub Messagingserviceforeventingestionanddelivery. Dataproc ServiceforrunningApacheSparkandApacheHadoopclusters. CloudDataFusion Dataintegrationforbuildingandmanagingdatapipelines. CloudComposer WorkfloworchestrationservicebuiltonApacheAirflow. Dataprep Servicetopreparedataforanalysisandmachinelearning. Dataplex Intelligentdatafabricforunifyingdatamanagementacrosssilos. DataCatalog Metadataservicefordiscovering,understanding,andmanagingdata. AnalyticsHub Serviceforsecurelyandefficientlyexchangingdataanalyticsassets. Notseeingwhatyou'relookingfor? Seealldataanalyticsproducts Databases CloudBigtable Cloud-nativewide-columndatabaseforlargescale,low-latencyworkloads. Firestore Cloud-nativedocumentdatabaseforbuildingrichmobile,web,andIoTapps. Memorystore In-memorydatabaseformanagedRedisandMemcached. CloudSpanner Cloud-nativerelationaldatabasewithunlimitedscaleand99.999%availability. CloudSQL FullymanageddatabaseforMySQL,PostgreSQL,andSQLServer. DatabaseMigrationService Serverless,minimaldowntimemigrationstoCloudSQL. BareMetalSolutionforOracle InfrastructuretorunspecializedOracleworkloadsonGoogleCloud. FirebaseRealtimeDatabase NoSQLdatabaseforstoringandsyncingdatainrealtime. Datastream Serverlesschangedatacaptureandreplicationservice. DeveloperTools ArtifactRegistry Universalpackagemanagerforbuildartifactsanddependencies. CloudBuild Continuousintegrationandcontinuousdeliveryplatform. CloudCode IDEsupporttowrite,run,anddebugKubernetesapplications. CloudDeploymentManager ServiceforcreatingandmanagingGoogleCloudresources. CloudSDK CommandlinetoolsandlibrariesforGoogleCloud. CloudScheduler Cronjobschedulerfortaskautomationandmanagement. CloudSourceRepositories PrivateGitrepositorytostore,manage,andtrackcode. CloudTasks Taskmanagementserviceforasynchronoustaskexecution. GoogleCloudDeploy FullymanagedcontinuousdeliverytoGoogleKubernetesEngine. Tekton Kubernetes-nativeresourcesfordeclaringCI/CDpipelines. ToolsforPowerShell FullcloudcontrolfromWindowsPowerShell. Notseeingwhatyou'relookingfor? Seealldevelopertools HealthcareandLifeSciences ApigeeHealthcareAPIx FHIRAPI-baseddigitalserviceproduction. CloudHealthcareAPI SolutionforbridgingexistingcaresystemsandappsonGoogleCloud. CloudLifeSciences Toolsformanaging,processing,andtransformingbiomedicaldata. HealthcareNaturalLanguageAI Real-timeinsightsfromunstructuredmedicaltext. HybridandMulticloud Anthos Platformformodernizingexistingappsandbuildingnewones. Looker PlatformforBI,dataapplications,andembeddedanalytics. CloudRunforAnthos IntegrationthatprovidesaserverlessdevelopmentplatformonGKE. GoogleCloudMarketplaceforAnthos Containerizedappswithprebuiltdeploymentandunifiedbilling. MigrateforAnthos TooltomoveworkloadsandexistingapplicationstoGKE. Operations Monitoring,logging,andapplicationperformancesuite. CloudBuild ServiceforexecutingbuildsonGoogleCloudinfrastructure. TrafficDirector Trafficcontrolpaneandmanagementforopenservicemesh. ApigeeAPIManagement APImanagement,development,andsecurityplatform. GoogleDistributedCloud Fullymanagedsolutionsfortheedgeanddatacenters. InternetofThings CloudIoTCore IoTdevicemanagement,integration,andconnectionservice. EdgeTPU ASICdesignedtorunMLinferenceandAIattheedge. ManagementTools AnthosConfigManagement Automatepolicyandsecurityforyourdeployments. CarbonFootprint DashboardtoviewandexportGoogleCloudcarbonemissionsreports. CloudAPIs ProgrammaticinterfacesforGoogleCloudservices. CloudConsole Web-basedinterfaceformanagingandmonitoringcloudapps. CloudMobileApp ApptomanageGoogleCloudservicesfromyourmobiledevice. CloudShell Interactiveshellenvironmentwithabuilt-incommandline. ConfigConnector Kubernetesadd-onformanagingGoogleCloudresources. CostManagement Toolsformonitoring,controlling,andoptimizingyourcosts. IntelligentManagement Toolsforeasilymanagingperformance,security,andcost. PrivateCatalog Servicecatalogforadminsmanaginginternalenterprisesolutions. TerraformonGoogleCloud OpensourcetooltoprovisionGoogleCloudresourceswithdeclarativeconfigurationfiles. MediaandGaming GameServers GameservermanagementservicerunningonGoogleKubernetesEngine. OpenCue Opensourcerendermanagerforvisualeffectsandanimation. TranscoderAPI Convertvideofilesandpackagethemforoptimizeddelivery. Migration ApplicationMigration Appmigrationtothecloudforlow-costrefreshcycles. BigQueryDataTransferService DataimportserviceforschedulingandmovingdataintoBigQuery. CloudFoundationToolkit ReferencetemplatesforDeploymentManagerandTerraform. DatabaseMigrationService Serverless,minimaldowntimemigrationstoCloudSQL. MigrateforAnthos ComponentsformigratingVMsintosystemcontainersonGKE. MigrateforComputeEngine ComponentsformigratingVMsandphysicalserverstoComputeEngine. RapidAssessment&MigrationProgram(RAMP) End-to-endmigrationprogramtosimplifyyourpathtothecloud. TransferAppliance StorageserverformovinglargevolumesofdatatoGoogleCloud. StorageTransferService Datatransfersfromonlineandon-premisessourcestoCloudStorage. VMwareEngine MigrateandrunyourVMwareworkloadsnativelyonGoogleCloud. Networking CloudArmor SecuritypoliciesanddefenseagainstwebandDDoSattacks. CloudCDN Contentdeliverynetworkforservingwebandvideocontent. CloudDNS Domainnamesystemforreliableandlow-latencynamelookups. CloudLoadBalancing Servicefordistributingtrafficacrossapplicationsandregions. CloudNAT NATserviceforgivingprivateinstancesinternetaccess. HybridConnectivity ConnectivityoptionsforVPN,peering,andenterpriseneeds. NetworkConnectivityCenter Connectivitymanagementtohelpsimplifyandscalenetworks. NetworkIntelligenceCenter Networkmonitoring,verification,andoptimizationplatform. NetworkServiceTiers Cloudnetworkoptionsbasedonperformance,availability,andcost. NetworkTelemetry VPCflowlogsfornetworkmonitoring,forensics,andsecurity. TrafficDirector Trafficcontrolpaneandmanagementforopenservicemesh. Notseeingwhatyou'relookingfor? Seeallnetworkingproducts Operations CloudLogging GoogleCloudaudit,platform,andapplicationlogsmanagement. CloudMonitoring Infrastructureandapplicationhealthwithrichmetrics. ErrorReporting Applicationerroridentificationandanalysis. KubernetesEngineMonitoring GKEappdevelopmentandtroubleshooting. CloudTrace Tracingsystemcollectinglatencydatafromapplications. CloudProfiler CPUandheapprofilerforanalyzingapplicationperformance. CloudDebugger Real-timeapplicationstateinspectionandin-productiondebugging. IntelligentOperations Toolsforeasilyoptimizingperformance,security,andcost. SecurityandIdentity CloudIAM PermissionsmanagementsystemforGoogleCloudresources. AssuredWorkloads Complianceandsecuritycontrolsforsensitiveworkloads. CloudKeyManagement ManageencryptionkeysonGoogleCloud. ConfidentialComputing EncryptdatainusewithConfidentialVMs. SecurityCommandCenter PlatformfordefendingagainstthreatstoyourGoogleCloudassets. CloudDataLossPrevention Sensitivedatainspection,classification,andredactionplatform. ManagedServiceforMicrosoftActiveDirectory HardenedservicerunningMicrosoft®ActiveDirectory(AD). AccessTransparency Cloudprovidervisibilitythroughnearreal-timelogs. TitanSecurityKey Two-factorauthenticationdeviceforuseraccountprotection. SecretManager StoreAPIkeys,passwords,certificates,andothersensitivedata. BeyondCorpEnterprise Zerotrustsolutionforsecureapplicationandresourceaccess. Notseeingwhatyou'relookingfor? Seeallsecurityandidentityproducts ServerlessComputing CloudRun Fullymanagedenvironmentforrunningcontainerizedapps. CloudFunctions Platformforcreatingfunctionsthatrespondtocloudevents. AppEngine Serverlessapplicationplatformforappsandbackends. Workflows WorkfloworchestrationforserverlessproductsandAPIservices. Storage AllStorageProducts Cloud-basedstorageservicesforyourbusiness. CloudStorage Objectstoragethat’ssecure,durable,andscalable. Filestore Filestoragethatishighlyscalableandsecure. PersistentDisk BlockstorageforvirtualmachineinstancesrunningonGoogleCloud. CloudStorageforFirebase Objectstorageforstoringandservinguser-generatedcontent. LocalSSD Blockstoragethatislocallyattachedforhigh-performanceneeds. ArchivalStorage Dataarchivethatoffersonlineaccessspeedatultralowcost. StorageTransferService Datatransfersfromonlineandon-premisessourcestoCloudStorage. GoogleWorkspaceEssentials Securevideomeetingsandmoderncollaborationforteams. Pricing close Savemoneywithourtransparentapproachtopricing GoogleCloud'spay-as-you-gopricingoffersautomaticsavingsbasedonmonthlyusageanddiscountedratesforprepaidresources.Contactustodaytogetaquote. Requestaquote GoogleCloud Pricingoverview Payonlyforwhatyouusewithnolock-in. Pricelist Getpricingdetailsforindividualproducts. Pricingcalculator Calculateyourcloudsavings. GoogleCloudFreeProgram $300infreecreditsand20+freeproducts. RelatedProducts GoogleWorkspace GoogleMapsPlatform ChromeEnterprise Apigee Looker Firebase Gettingstarted close GetstartedwithGoogleCloud Startbuildingrightawayonoursecure,intelligentplatform.Newcustomersget$300infreecreditstousetowardGoogleCloudproductsandservices. Getstartedforfree Self-serviceResources Quickstarts Viewshorttutorialstohelpyougetstarted. Bestpractices Exploredocsforcommonworkloads. GoogleCloudcertification Prepareandregisterforcertifications. Experthelpandtraining Consulting Partnerwithourexpertsoncloudprojects. TechnicalAccountManagement GetongoingguidancefromGoogle. Training Enrollinon-demandorclassroomtraining. Partnersandthird-partytools GoogleCloudpartners Explorebenefitsofworkingwithapartner. Becomeapartner JointhePartnerAdvantageprogram. GoogleCloudMarketplace Deployready-to-gosolutionsinafewclicks. Morewaystogetstarted Docs Support Docs Support Language English Deutsch Español–AméricaLatina Français Português–Brasil 中文–简体 日本語 한국어 Signin CloudStorage Overview Guides Reference Samples Support Resources ContactUs Getstartedforfree WhyGoogle More Solutions More Products More Pricing More Gettingstarted More Docs Overview Guides Reference Samples Support Resources Support Console ContactUs Getstartedforfree Allcodesamplesforallproducts CloudStorage AllCloudStoragecodesamples ActivateanHMACkey AddadefaultACLtoabucket Addalabeltoabucket AddanIAMmember AddanownerACLtoanobject Addanownertoabucket Addconditionalrolebinding AmazonS3SDK:Listobjects Changethedefaultstorageclassofabucket Composemultipleobjects ConfigureCORSforabucket ConvertCSEKtoCMEK Copyanarchivedobject Copyanobjectbetweenbuckets Createabucket Createabucketwithoptions Createadual-regionbucketwithturboreplication CreateaGET-signedURLforanobjectusingCloudStoragelibraries(V4) CreateanewPub/Subnotification CreateaPUT-signedURLusingCloudStoragelibraries(V4) CreateaserviceaccountHMACkey DeactivateaserviceaccountHMACkey Deleteabucket DeleteaPub/Subnotification Deleteanarchivedgenerationofanobject DeleteanHMACkey DeleteanIAMmember Deleteanobject Demonstrateretryconfiguration Disableadefaultevent-basedholdonabucket Disablealifecyclepolicy Disableobjectversioningforabucket Disabletherequesterpaysstatusforabucket Disableuniformbucket-levelaccess DownloadaCSEK-encryptedobject Downloadapublicobjectwithoutcredentials Downloadallobjectcontentsintomemory. Downloadanobject Enableadefaultevent-basedhold Enablelifecyclemanagementforabucket Enableobjectversioningforabucket EnableRequesterPaysforabucket Enableuniformbucket-levelaccess Generateanencryptionkey Getabucket'sACL Getabucket'sACLthat'sfilteredbyuser Getabucket'sdefaultKMSkey Getabucket'smetadata Getalifecyclepolicyforabucket GetaPub/Subnotification Getaretentionpolicy Getaserviceaccount GetanHMACkey GetanobjectACLthat'sfilteredbyuser Getanobject'sACL Getanobject'sKMSkeyname Getanobject'smetadata GetIAMmembers GettheRequesterPaysstatusonabucket Getthestateofadefaultevent-basedhold Getuniformbucket-levelaccess Listarchivedgenerations Listbucketlabels Listbuckets ListbucketsusingAmazonS3SDKs Listfilesinapaginatedmanner ListHMACkeys ListPub/Subnotifications Listtheobjectsinabucket Listtheobjectsinabucketusingaprefixfilter Lockabucket'sretentionpolicy Makeabucketpublic Makeanobjectpublic Moveanobject Printthewebsiteconfigurationforabucket ReadObjectasaStream Releaseatemporaryholdonanobject Releaseanevent-basedholdonanobject Removeabucketlabel RemoveadefaultACLfromabucket Removeanownerfromabucket Removeowneraccesstoanobject Removeretentionpolicy RemovethedefaultKMSkeyname RequesterPays:Downloadanobject Rotateanencryptionkey SetadefaultKMSkeyforabucket Setaretentionpolicy Setatemporaryholdonanobject Setanevent-basedholdonanobject Setanobject'smetadata SetPublicAccessPreventiontoInherited Setthewebsiteconfigurationonabucket Updatetheobjectstorageclass Uploadanobject UploadanobjectbyusingCSEK UploadanobjectwithaspecifiedKMSkey Uploadobjectfrommemory DiscoverwhyleadingbusinesseschooseGoogleCloud Learnmore Keybenefits Overview Multicloud Trustandsecurity Globalinfrastructure Datacloud Opencloud Sustainability Productivityandcollaboration Resources Events Blog Customerstories Analystreports IndustrySolutions Retail ConsumerPackagedGoods FinancialServices HealthcareandLifeSciences MediaandEntertainment Telecommunications Gaming Manufacturing SupplyChainandLogistics Government Education Seeallindustrysolutions Seeallsolutions ApplicationModernization HybridandMulti-cloudApplicationPlatform Cloud-NativeAppDevelopment APIManagement ServerlessSolutions DevOps ContinuousDelivery(CD) ContinuousIntegration(CI) MainframeModernization CAMP Hosting SiteReliabilityEngineering(SRE) ArtificialIntelligence BuildanduseAI ContactCenterAI AgentAssist CloudTalentSolution DocumentAI LendingDocAI ProcurementDocAI Intelligentproducts DataScience ContractDocAI ContactCenterAIInsights BusinessApplicationPlatform NewBusinessChannelsUsingAPIs UnlockingLegacyApplicationsUsingAPIs OpenBankingAPIx Databases DatabaseMigration DatabaseModernization GoogleCloudDatabases MigrateOracleworkloadstoGoogleCloud OpenSourceDatabases SQLServeronGoogleCloud DataCloud Databasessolutions Smartanalyticssolutions AIsolutions DigitalTransformation BusinessContinuity DigitalInnovation OperationalEfficiency COVID-19Solutions COVID-19SolutionsfortheHealthcareIndustry InfrastructureModernization ApplicationMigration SAPonGoogleCloud HighPerformanceComputing WindowsonGoogleCloud DataCenterMigration ActiveAssist VirtualDesktops RapidAssessment&MigrationProgram(RAMP) BackupandDisasterRecovery ProductivityandCollaboration GoogleWorkspace GoogleWorkspaceEssentials CloudIdentity ChromeEnterprise CloudSearch Security SecurityAnalyticsandOperations WebAppandAPIProtection SecurityandResilienceFramework Riskandcomplianceascode(RCaC) SmartAnalytics DataWarehouseModernization DataLakeModernization SparkonGoogleCloud StreamAnalytics BusinessIntelligence DataScience MarketingAnalytics GeospatialAnalyticsandAI Datasets StartupsandSMB StartupSolutions StartupProgram SmallandMediumBusiness SoftwareasaService FeaturedProducts ComputeEngine CloudStorage CloudSDK CloudSQL GoogleKubernetesEngine BigQuery CloudCDN Dataflow Operations CloudRun Anthos Seeallproducts(100+) AIandMachineLearning VertexAI Speech-to-Text VisionAI Text-to-Speech CloudTranslation CloudNaturalLanguage AutoML VideoAI AIInfrastructure Dialogflow AutoMLTables SeeallAIandmachinelearningproducts APIManagement ApigeeAPIManagement ApigeeIntegration CloudEndpoints CloudHealthcareAPI AppSheet APIGateway Compute ComputeEngine AppEngine CloudGPUs MigrateforComputeEngine SpotVMs ShieldedVMs Sole-TenantNodes BareMetal Recommender VMwareEngine CloudRun Seeallcomputeproducts Containers GoogleKubernetesEngine ContainerRegistry ContainerSecurity CloudBuild DeepLearningContainers KubernetesApplications ArtifactRegistry Knative CloudRun CloudCode DataAnalytics BigQuery Looker Dataflow Pub/Sub Dataproc CloudDataFusion CloudComposer Dataprep Dataplex DataCatalog AnalyticsHub Seealldataanalyticsproducts Databases CloudBigtable Firestore Memorystore CloudSpanner CloudSQL DatabaseMigrationService BareMetalSolutionforOracle FirebaseRealtimeDatabase Datastream DeveloperTools ArtifactRegistry CloudBuild CloudCode CloudDeploymentManager CloudSDK CloudScheduler CloudSourceRepositories CloudTasks GoogleCloudDeploy Tekton ToolsforPowerShell Seealldevelopertools HealthcareandLifeSciences ApigeeHealthcareAPIx CloudHealthcareAPI CloudLifeSciences HealthcareNaturalLanguageAI HybridandMulticloud Anthos Looker CloudRunforAnthos GoogleCloudMarketplaceforAnthos MigrateforAnthos Operations CloudBuild TrafficDirector ApigeeAPIManagement GoogleDistributedCloud InternetofThings CloudIoTCore EdgeTPU ManagementTools AnthosConfigManagement CarbonFootprint CloudAPIs CloudConsole CloudMobileApp CloudShell ConfigConnector CostManagement IntelligentManagement PrivateCatalog TerraformonGoogleCloud MediaandGaming GameServers OpenCue TranscoderAPI Migration ApplicationMigration BigQueryDataTransferService CloudFoundationToolkit DatabaseMigrationService MigrateforAnthos MigrateforComputeEngine RapidAssessment&MigrationProgram(RAMP) TransferAppliance StorageTransferService VMwareEngine Networking CloudArmor CloudCDN CloudDNS CloudLoadBalancing CloudNAT HybridConnectivity NetworkConnectivityCenter NetworkIntelligenceCenter NetworkServiceTiers NetworkTelemetry TrafficDirector Seeallnetworkingproducts Operations CloudLogging CloudMonitoring ErrorReporting KubernetesEngineMonitoring CloudTrace CloudProfiler CloudDebugger IntelligentOperations SecurityandIdentity CloudIAM AssuredWorkloads CloudKeyManagement ConfidentialComputing SecurityCommandCenter CloudDataLossPrevention ManagedServiceforMicrosoftActiveDirectory AccessTransparency TitanSecurityKey SecretManager BeyondCorpEnterprise Seeallsecurityandidentityproducts ServerlessComputing CloudRun CloudFunctions AppEngine Workflows Storage AllStorageProducts CloudStorage Filestore PersistentDisk CloudStorageforFirebase LocalSSD ArchivalStorage StorageTransferService GoogleWorkspaceEssentials Savemoneywithourtransparentapproachtopricing Requestaquote GoogleCloud Pricingoverview Pricelist Pricingcalculator GoogleCloudFreeProgram RelatedProducts GoogleWorkspace GoogleMapsPlatform ChromeEnterprise Apigee Looker Firebase GetstartedwithGoogleCloud Getstartedforfree Self-serviceResources Quickstarts Bestpractices GoogleCloudcertification Experthelpandtraining Consulting TechnicalAccountManagement Training Partnersandthird-partytools GoogleCloudpartners Becomeapartner GoogleCloudMarketplace Morewaystogetstarted Home Docs CloudStorage Documentation Samples Sendfeedback Setatemporaryholdonanobject Anexampleofhowtosetatemporaryholdonanobject. Documentationpagesthatincludethiscodesample Toviewthecodesampleusedincontext,seethefollowingdocumentation: Usingobjectholds Codesample C# Formoreinformation,seethe CloudStorageC#APIreferencedocumentation. ViewonGitHub Feedback usingGoogle.Cloud.Storage.V1; publicclassSetTemporaryHoldSample { publicvoidSetTemporaryHold( stringbucketName="your-unique-bucket-name", stringobjectName="your-object-name") { varstorage=StorageClient.Create(); varstorageObject=storage.GetObject(bucketName,objectName); storageObject.TemporaryHold=true; storage.UpdateObject(storageObject); System.Console.WriteLine($"Temporaryholdwassetfor{objectName}."); } } C++ Formoreinformation,seethe CloudStorageC++APIreferencedocumentation. ViewonGitHub Feedback namespacegcs=::google::cloud::storage; using::google::cloud::StatusOr; [](gcs::Clientclient,std::stringconst&bucket_name, std::stringconst&object_name){ StatusOr<:objectmetadata>original= client.GetObjectMetadata(bucket_name,object_name); if(!original)throwstd::runtime_error(original.status().message()); StatusOr<:objectmetadata>updated=client.PatchObject( bucket_name,object_name, gcs::ObjectMetadataPatchBuilder().SetTemporaryHold(true), gcs::IfMetagenerationMatch(original->metageneration())); if(!updated)throwstd::runtime_error(updated.status().message()); std::cout<name() <bucket()<temporary_hold()?"enabled":"disabled")<bucket($bucketName); $object=$bucket->object($objectName); $object->update(['temporaryHold'=>true]); printf('Temporaryholdwassetfor%s'.PHP_EOL,$objectName); } Python Formoreinformation,seethe CloudStoragePythonAPIreferencedocumentation. ViewonGitHub Feedback fromgoogle.cloudimportstorage defset_temporary_hold(bucket_name,blob_name): """Setsatemporaryholdonagivenblob""" #bucket_name="my-bucket" #blob_name="my-blob" storage_client=storage.Client() bucket=storage_client.bucket(bucket_name) blob=bucket.blob(blob_name) blob.temporary_hold=True blob.patch() print("Temporaryholdwassetfor#{blob_name}") Ruby Formoreinformation,seethe CloudStorageRubyAPIreferencedocumentation. ViewonGitHub Feedback defset_temporary_holdbucket_name:,file_name: #TheIDofyourGCSbucket #bucket_name="your-unique-bucket-name" #TheIDofyourGCSobject #file_name="your-file-name" require"google/cloud/storage" storage=Google::Cloud::Storage.new bucket=storage.bucketbucket_name file=bucket.filefile_name file.set_temporary_hold! puts"Temporaryholdwassetfor#{file_name}." end What'snext TosearchandfiltercodesamplesforotherGoogleCloudproducts,seethe GoogleCloudsamplebrowser. Sendfeedback Exceptasotherwisenoted,thecontentofthispageislicensedundertheCreativeCommonsAttribution4.0License,andcodesamplesarelicensedundertheApache2.0License.Fordetails,seetheGoogleDevelopersSitePolicies.JavaisaregisteredtrademarkofOracleand/oritsaffiliates. [{ "type":"thumb-down", "id":"hardToUnderstand", "label":"Hardtounderstand" },{ "type":"thumb-down", "id":"incorrectInformationOrSampleCode", "label":"Incorrectinformationorsamplecode" },{ "type":"thumb-down", "id":"missingTheInformationSamplesINeed", "label":"Missingtheinformation/samplesIneed" },{ "type":"thumb-down", "id":"otherDown", "label":"Other" }] [{ "type":"thumb-up", "id":"easyToUnderstand", "label":"Easytounderstand" },{ "type":"thumb-up", "id":"solvedMyProblem", "label":"Solvedmyproblem" },{ "type":"thumb-up", "id":"otherUp", "label":"Other" }] Needtotellusmore? WhyGoogle ChoosingGoogleCloud Trustandsecurity Opencloud Multicloud Globalinfrastructure Sustainability Customersandcasestudies Analystreports Whitepapers Blog Productsandpricing GoogleCloudpricing GoogleWorkspacepricing MapsPlatformpricing Seeallproducts Solutions Infrastructuremodernization Databases Applicationmodernization Smartanalytics ArtificialIntelligence Security Productivity&worktransformation Industrysolutions DevOpssolutions Smallbusinesssolutions Seeallsolutions Resources GoogleClouddocumentation GoogleCloudquickstarts GoogleCloudMarketplace GoogleWorkspaceMarketplace Learnaboutcloudcomputing Support Codesamples Tutorials Training Certifications GoogleDevelopers GoogleCloudforStartups Systemstatus ReleaseNotes Engage Contactsales FindaPartner BecomeaPartner Events Podcast DeveloperCenter PressCorner GoogleCloudonYouTube GoogleCloudTechonYouTube GoogleWorkspaceonYouTube FollowonTwitter JoinUserResearch We'rehiring.JoinGoogleCloud! GoogleCloudCommunity AboutGoogle Privacy Siteterms GoogleCloudterms Carbonneutralsince2007 SignupfortheGoogleCloudnewsletter Subscribe Language English Deutsch Español–AméricaLatina Français Português–Brasil 中文–简体 日本語 한국어
延伸文章資訊
- 1信用卡被盗刷 - Mobile01
本人3/19晚收到玉山銀行信用卡消費通知信用卡於3/19 22:46:03消費30元商店名稱:Google Temporary Hold 22:47:04消費38500元 23:00:59消費4...
- 2Set a temporary hold on an object | Cloud Storage
To search and filter code samples for other Google Cloud products, see the Google Cloud sample br...
- 3Google temporary hold 是什麼在PTT/Dcard完整相關資訊
提供Google temporary hold 是什麼相關PTT/Dcard文章,想要了解更多中華電信Google Play 代收服務條款、google付款中心、Google Play 第三方支...
- 4google temporary hold是什麼 - 藝術貼文懶人包
缺少字詞: gl= tw【懶人包】temporary hold中文- 自助旅行最佳解答-202102142021年2月14日· 瞭解銀行結單上的Google 收費- Google Pay 說明-...
- 5Using object holds | Cloud Storage
Placing an object hold · In the Google Cloud Console, go to the Cloud Storage Browser page. · In ...