Google Anthos Multi Cloud V1 Client - Class UpdateAwsNodePoolRequest (0.3.0)

Reference documentation and code samples for the Google Anthos Multi Cloud V1 Client class UpdateAwsNodePoolRequest.

Request message for AwsClusters.UpdateAwsNodePool method.

Generated from protobuf message google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest

Methods

build

Parameters
Name
Description
awsNodePool
Google\Cloud\GkeMultiCloud\V1\AwsNodePool

Required. The AwsNodePool resource to update.

updateMask
Google\Protobuf\FieldMask

Required. Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field can only include these fields from 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.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 .

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ aws_node_pool
Google\Cloud\GkeMultiCloud\V1\AwsNodePool

Required. The AwsNodePool resource to update.

↳ validate_only
bool

If set, only validate the request, but don't actually update the node pool.

↳ update_mask
Google\Protobuf\FieldMask

Required. Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field can only include these fields from 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.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 .

getAwsNodePool

Required. The AwsNodePool resource to update.

Returns
Type
Description

hasAwsNodePool

clearAwsNodePool

setAwsNodePool

Required. The AwsNodePool resource to update.

Parameter
Name
Description
Returns
Type
Description
$this

getValidateOnly

If set, only validate the request, but don't actually update the node pool.

Returns
Type
Description
bool

setValidateOnly

If set, only validate the request, but don't actually update the node pool.

Parameter
Name
Description
var
bool
Returns
Type
Description
$this

getUpdateMask

Required. Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field can only include these fields from 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.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 .
Returns
Type
Description

hasUpdateMask

clearUpdateMask

setUpdateMask

Required. Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field can only include these fields from 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.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 .
Parameter
Name
Description
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: