Send feedback
  
   
 
  
    
      Method: projects.locations.instances.patch 
  
  
  
   
  
    
  
  
    
    
    
    
      
      
        instances.patch updates an Instance.
       
      
        
          HTTP request 
          PATCH https://notebooks.googleapis.com/v2/{instance.name}
         
        
          Path parameters 
          
            
               
            
              
                Parameters 
               
             
            
              
                instance.name
                  string
                  Output only. Identifier. The name of this notebook instance. Format: projects/{projectId}/locations/{location}/instances/{instanceId}
                 
               
             
          
         
        
          Query parameters 
          
            
               
            
              
                Parameters 
               
             
            
              
                updateMask
                  string (FieldMask 
                  Required. Mask used to update an instance. Updatable fields:
                  
                    labelsgceSetup.min_cpu_platformgceSetup.metadatagceSetup.machine_typegceSetup.accelerator_configsgceSetup.accelerator_configs.typegceSetup.accelerator_configs.core_countgceSetup.gpu_driver_configgceSetup.gpu_driver_config.enable_gpu_drivergceSetup.gpu_driver_config.custom_gpu_driver_pathgceSetup.shielded_instance_configgceSetup.shielded_instance_config.enable_secure_bootgceSetup.shielded_instance_config.enable_vtpmgceSetup.shielded_instance_config.enable_integrity_monitoringgceSetup.reservation_affinitygceSetup.reservation_affinity.consume_reservation_typegceSetup.reservation_affinity.keygceSetup.reservation_affinity.valuesgceSetup.tagsgceSetup.container_imagegceSetup.container_image.repositorygceSetup.container_image.taggceSetup.disable_public_ipdisableProxyAccess This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo".
                 
               
              
                requestId
                  string
                  Optional. Idempotent request UUID.
                 
               
             
          
         
        
          Request body 
          The request body contains an instance of Instance 
         
        
          Response body 
          If successful, the response body contains an instance of Operation 
         
        
          Authorization scopes 
          Requires the following OAuth scope:
          
            https://www.googleapis.com/auth/cloud-platform For more information, see the Authentication Overview .
         
       
      
      
     
  
  
  
     
  
    
    
      
       
         
  
  
    
    Send feedback
  
   
 
       
    
    
  
  
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-08-22 UTC.
 
 
  
  
    
    
    
      
  
  
    Need to tell us more?
  
   
 
     
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-22 UTC."],[],[]]