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

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
NameDescription
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
TypeDescription
Google\Cloud\GkeMultiCloud\V1\AwsNodePool|null

hasAwsNodePool

clearAwsNodePool

setAwsNodePool

Required. The AwsNodePool resource to update.

Parameter
NameDescription
var Google\Cloud\GkeMultiCloud\V1\AwsNodePool
Returns
TypeDescription
$this

getValidateOnly

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

Returns
TypeDescription
bool

setValidateOnly

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

Parameter
NameDescription
var bool
Returns
TypeDescription
$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
TypeDescription
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.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
NameDescription
var Google\Protobuf\FieldMask
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
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.
Returns
TypeDescription
Google\Cloud\GkeMultiCloud\V1\UpdateAwsNodePoolRequest