Google Anthos Multi Cloud V1 Client - Class UpdateAwsNodePoolRequest (1.1.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

Namespace

Google \ Cloud \ GkeMultiCloud \ V1

Methods

__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.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. * update_settings. * update_settings.surge_settings. * update_settings.surge_settings.max_surge. * update_settings.surge_settings.max_unavailable.

getAwsNodePool

Required. The AwsNodePool resource to update.

Returns
Type Description
Google\Cloud\GkeMultiCloud\V1\AwsNodePool|null

hasAwsNodePool

clearAwsNodePool

setAwsNodePool

Required. The AwsNodePool resource to update.

Parameter
Name Description
var Google\Cloud\GkeMultiCloud\V1\AwsNodePool
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.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.
    • update_settings.
    • update_settings.surge_settings.
    • update_settings.surge_settings.max_surge.
    • update_settings.surge_settings.max_unavailable.
Returns
Type Description
Google\Protobuf\FieldMask|null

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.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.
    • update_settings.
    • update_settings.surge_settings.
    • update_settings.surge_settings.max_surge.
    • update_settings.surge_settings.max_unavailable.
Parameter
Name Description
var Google\Protobuf\FieldMask
Returns
Type Description
$this

static::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.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.
  • update_settings.
  • update_settings.surge_settings.
  • update_settings.surge_settings.max_surge.
  • update_settings.surge_settings.max_unavailable.
Returns
Type Description
Google\Cloud\GkeMultiCloud\V1\UpdateAwsNodePoolRequest