Method: projects.locations.awsClusters.awsNodePools.patch
  
      
    
  
  
  
  
  
    
  
  
    
    
    
    
    
    
    
      
      
      
      
      
        
          HTTP 请求
          PATCH https://{endpoint}/v1/{awsNodePool.name=projects/*/locations/*/awsClusters/*/awsNodePools/*}
其中 {endpoint} 是受支持的服务端点之一。
网址使用 gRPC 转码语法。
        
        
          路径参数
          
            
              
              
            
            
              
                | 参数 | 
            
            
              
                | awsNodePool.name | string
 此资源的名称。 节点池名称采用 projects/<project-number>/locations/<region>/awsClusters/<cluster-id>/awsNodePools/<node-pool-id>格式。 如需详细了解 Google Cloud 资源名称,请参阅资源名称 | 
            
          
        
        
          查询参数
          
            
              
              
            
            
              
                | 参数 | 
            
            
              
                | validateOnly | boolean
 如果进行了设置,则只会验证请求,而不会实际更新节点池。 | 
              
                | updateMask | string (FieldMaskformat)
 必需。要更新的字段掩码。此字段中必须提供至少一个路径。重复路径字段的元素只能包含 AwsNodePool中的这些字段: 
                    annotations。version。autoscaling.min_node_count。autoscaling.max_node_count。config.config_encryption.kms_key_arn。config.security_group_ids。config.root_volume.iops。config.root_volume.throughput。config.root_volume.kms_key_arn。config.root_volume.volume_type。config.root_volume.size_gib。config.proxy_config。config.proxy_config.secret_arn。config.proxy_config.secret_version。config.ssh_config。config.ssh_config.ec2_key_pair。config.instance_placement.tenancy。config.iam_instance_profile。config.labels。config.tags。config.autoscaling_metrics_collection。config.autoscaling_metrics_collection.granularity。config.autoscaling_metrics_collection.metrics。config.instance_type。management.auto_repair。management。updateSettings。updateSettings.surge_settings。updateSettings.surge_settings.max_surge。updateSettings.surge_settings.max_unavailable。 这是完全限定字段名称的逗号分隔列表。示例:"user.displayName,photo"。 | 
            
          
        
        
          请求正文
          请求正文包含一个 AwsNodePool 实例。
        
        
          响应正文
          如果成功,则响应正文包含一个 Operation 实例。
        
        
          授权范围
          需要以下 OAuth 范围:
          
            - https://www.googleapis.com/auth/cloud-platform
如需了解详情,请参阅 Authentication Overview。
        
        
          IAM 权限
          需要拥有 name 资源的以下 IAM 权限:
          
            - gkemulticloud.awsNodePools.update
如需了解详情,请参阅 IAM 文档。
        
      
    
  
  
  
  
    
  
  
 
  
    
    
      
       
         
  
       
    
    
  
  
  如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
  最后更新时间 (UTC):2025-10-20。
  
  
    
    
    
      
  
    
  
  
    
      [[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-10-20。"],[],[]]