Google Anthos Multi Cloud V1 Client - Class UpdateAwsClusterRequest (0.1.4)

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

Request message for AwsClusters.UpdateAwsCluster method.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ aws_cluster Google\Cloud\GkeMultiCloud\V1\AwsCluster

Required. The AwsCluster resource to update.

↳ validate_only bool

If set, only validate the request, but do not actually update the cluster.

↳ 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 AwsCluster: * description. * annotations. * control_plane.version. * authorization.admin_users. * control_plane.aws_services_authentication.role_arn. * control_plane.aws_services_authentication.role_session_name. * control_plane.config_encryption.kms_key_arn. * control_plane.instance_type. * control_plane.security_group_ids. * control_plane.proxy_config. * control_plane.proxy_config.secret_arn. * control_plane.proxy_config.secret_version. * control_plane.root_volume.iops. * control_plane.root_volume.kms_key_arn. * control_plane.root_volume.volume_type. * control_plane.root_volume.size_gib. * control_plane.ssh_config. * control_plane.ssh_config.ec2_key_pair. * control_plane.instance_placement.tenancy. * logging_config.

getAwsCluster

Required. The AwsCluster resource to update.

Generated from protobuf field .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Google\Cloud\GkeMultiCloud\V1\AwsCluster|null

hasAwsCluster

clearAwsCluster

setAwsCluster

Required. The AwsCluster resource to update.

Generated from protobuf field .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED];

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

getValidateOnly

If set, only validate the request, but do not actually update the cluster.

Generated from protobuf field bool validate_only = 2;

Returns
TypeDescription
bool

setValidateOnly

If set, only validate the request, but do not actually update the cluster.

Generated from protobuf field bool validate_only = 2;

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 AwsCluster:

  • description.
  • annotations.
    • control_plane.version.
    • authorization.admin_users.
    • control_plane.aws_services_authentication.role_arn.
    • control_plane.aws_services_authentication.role_session_name.
    • control_plane.config_encryption.kms_key_arn.
    • control_plane.instance_type.
    • control_plane.security_group_ids.
    • control_plane.proxy_config.
    • control_plane.proxy_config.secret_arn.
    • control_plane.proxy_config.secret_version.
    • control_plane.root_volume.iops.
    • control_plane.root_volume.kms_key_arn.
    • control_plane.root_volume.volume_type.
    • control_plane.root_volume.size_gib.
    • control_plane.ssh_config.
    • control_plane.ssh_config.ec2_key_pair.
    • control_plane.instance_placement.tenancy.
    • logging_config.

Generated from protobuf field .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED];

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 AwsCluster:

  • description.
  • annotations.
    • control_plane.version.
    • authorization.admin_users.
    • control_plane.aws_services_authentication.role_arn.
    • control_plane.aws_services_authentication.role_session_name.
    • control_plane.config_encryption.kms_key_arn.
    • control_plane.instance_type.
    • control_plane.security_group_ids.
    • control_plane.proxy_config.
    • control_plane.proxy_config.secret_arn.
    • control_plane.proxy_config.secret_version.
    • control_plane.root_volume.iops.
    • control_plane.root_volume.kms_key_arn.
    • control_plane.root_volume.volume_type.
    • control_plane.root_volume.size_gib.
    • control_plane.ssh_config.
    • control_plane.ssh_config.ec2_key_pair.
    • control_plane.instance_placement.tenancy.
    • logging_config.

Generated from protobuf field .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
var Google\Protobuf\FieldMask
Returns
TypeDescription
$this