Service Client: Google::Cloud::Gkemulticloud::V1::AwsService::AwsClustersClient

Client stub representing the remote AwsClusters gRPC service. Delegates call dispatching to Google::gRPC::Client.

target

The endpoint target address. Defaults to gkemulticloud.googleapis.com:443.

credentials

The authentication credentials provider. Defaults to application default credentials via Google::Auth.

NAME

Google::Cloud::Gkemulticloud::V1::AwsService - Compiled Protocol Buffers messages for google/cloud/gkemulticloud/v1/aws_service.proto

SYNOPSIS

use Google::Cloud::Gkemulticloud::V1::AwsService;

my $msg = Google::Cloud::Gkemulticloud::V1::AwsService::CreateAwsClusterRequest->new({
    parent => $parent,
    aws_cluster => $aws_cluster,
    aws_cluster_id => $aws_cluster_id,
    validate_only => $validate_only,
});

# Read or update a field
my $val = $msg->parent();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Gkemulticloud::V1::AwsService::CreateAwsClusterRequest->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/gkemulticloud/v1/aws_service.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().

MESSAGES

Google::Cloud::Gkemulticloud::V1::AwsService::CreateAwsClusterRequest

Request message for `AwsClusters.CreateAwsCluster` method.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent location where this [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource will be created.

    Location names are formatted as `projects/<project-id>/locations/<region>`.

    See [Resource Names](https://cloud.google.com/apis/design/resource_names) for more details on Google Cloud resource names.

  • $msg->aws_cluster() / $msg->aws_cluster($value)

    Type: Message (Google::Cloud::Gkemulticloud::V1::AwsResources::AwsCluster)

    Required. The specification of the [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] to create.

  • $msg->aws_cluster_id() / $msg->aws_cluster_id($value)

    Type: String

    Required. A client provided ID the resource. Must be unique within the parent resource.

    The provided ID will be part of the [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource name formatted as `projects/<project-id>/locations/<region>/awsClusters/<cluster-id>`.

    Valid characters are `/[a-z][0-9]-/`. Cannot be longer than 63 characters.

  • $msg->validate_only() / $msg->validate_only($value)

    Type: Bool

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

Google::Cloud::Gkemulticloud::V1::AwsService::UpdateAwsClusterRequest

Request message for `AwsClusters.UpdateAwsCluster` method.

Inherits from Protobuf::Message.

Accessors

  • $msg->aws_cluster() / $msg->aws_cluster($value)

    Type: Message (Google::Cloud::Gkemulticloud::V1::AwsResources::AwsCluster)

    Required. The [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource to update.

  • $msg->validate_only() / $msg->validate_only($value)

    Type: Bool

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

  • $msg->update_mask() / $msg->update_mask($value)

    Type: Message (Google::Protobuf::FieldMask::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][google.cloud.gkemulticloud.v1.AwsCluster]:

    *   `description`.
    *   `annotations`.
    *   `control_plane.version`.
    *   `authorization.admin_users`.
    *   `authorization.admin_groups`.
    *   `binary_authorization.evaluation_mode`.
    *   `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.size_gib`.
    *   `control_plane.root_volume.volume_type`.
    *   `control_plane.root_volume.iops`.
    *   `control_plane.root_volume.throughput`.
    *   `control_plane.root_volume.kms_key_arn`.
    *   `control_plane.ssh_config`.
    *   `control_plane.ssh_config.ec2_key_pair`.
    *   `control_plane.instance_placement.tenancy`.
    *   `control_plane.iam_instance_profile`.
    *   `logging_config.component_config.enable_components`.
    *   `control_plane.tags`.
    *   `monitoring_config.managed_prometheus_config.enabled`.
    *   `networking.per_node_pool_sg_rules_disabled`.

Google::Cloud::Gkemulticloud::V1::AwsService::GetAwsClusterRequest

Request message for `AwsClusters.GetAwsCluster` method.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of the [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource to describe.

    `AwsCluster` names are formatted as `projects/<project-id>/locations/<region>/awsClusters/<cluster-id>`.

    See [Resource Names](https://cloud.google.com/apis/design/resource_names) for more details on Google Cloud Platform resource names.

Google::Cloud::Gkemulticloud::V1::AwsService::ListAwsClustersRequest

Request message for `AwsClusters.ListAwsClusters` method.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent location which owns this collection of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources.

    Location names are formatted as `projects/<project-id>/locations/<region>`.

    See [Resource Names](https://cloud.google.com/apis/design/resource_names) for more details on Google Cloud Platform resource names.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    The maximum number of items to return.

    If not specified, a default value of 50 will be used by the service. Regardless of the pageSize value, the response can include a partial list and a caller should only rely on response's [nextPageToken][google.cloud.gkemulticloud.v1.ListAwsClustersResponse.next_page_token] to determine if there are more instances left to be queried.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    The `nextPageToken` value returned from a previous [awsClusters.list][google.cloud.gkemulticloud.v1.AwsClusters.ListAwsClusters] request, if any.

Google::Cloud::Gkemulticloud::V1::AwsService::ListAwsClustersResponse

Response message for `AwsClusters.ListAwsClusters` method.

Inherits from Protobuf::Message.

Accessors

  • $msg->aws_clusters() / $msg->aws_clusters($value)

    Type: Message (Google::Cloud::Gkemulticloud::V1::AwsResources::AwsCluster)

    A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources in the specified Google Cloud Platform project and region region.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    Token to retrieve the next page of results, or empty if there are no more results in the list.

Google::Cloud::Gkemulticloud::V1::AwsService::DeleteAwsClusterRequest

Request message for `AwsClusters.DeleteAwsCluster` method.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The resource name the [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] to delete.

    `AwsCluster` names are formatted as `projects/<project-id>/locations/<region>/awsClusters/<cluster-id>`.

    See [Resource Names](https://cloud.google.com/apis/design/resource_names) for more details on Google Cloud Platform resource names.

  • $msg->validate_only() / $msg->validate_only($value)

    Type: Bool

    If set, only validate the request, but do not actually delete the resource.

  • $msg->allow_missing() / $msg->allow_missing($value)

    Type: Bool

    If set to true, and the [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource is not found, the request will succeed but no action will be taken on the server and a completed [Operation][google.longrunning.Operation] will be returned.

    Useful for idempotent deletion.

  • $msg->ignore_errors() / $msg->ignore_errors($value)

    Type: Bool

    Optional. If set to true, the deletion of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource will succeed even if errors occur during deleting in cluster resources. Using this parameter may result in orphaned resources in the cluster.

  • $msg->etag() / $msg->etag($value)

    Type: String

    The current etag of the [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].

    Allows clients to perform deletions through optimistic concurrency control.

    If the provided etag does not match the current etag of the cluster, the request will fail and an ABORTED error will be returned.

Google::Cloud::Gkemulticloud::V1::AwsService::CreateAwsNodePoolRequest

Response message for `AwsClusters.CreateAwsNodePool` method.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource where this node pool will be created.

    `AwsCluster` names are formatted as `projects/<project-id>/locations/<region>/awsClusters/<cluster-id>`.

    See [Resource Names](https://cloud.google.com/apis/design/resource_names) for more details on Google Cloud resource names.

  • $msg->aws_node_pool() / $msg->aws_node_pool($value)

    Type: Message (Google::Cloud::Gkemulticloud::V1::AwsResources::AwsNodePool)

    Required. The specification of the [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] to create.

  • $msg->aws_node_pool_id() / $msg->aws_node_pool_id($value)

    Type: String

    Required. A client provided ID the resource. Must be unique within the parent resource.

    The provided ID will be part of the [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource name formatted as `projects/<project-id>/locations/<region>/awsClusters/<cluster-id>/awsNodePools/<node-pool-id>`.

    Valid characters are `/[a-z][0-9]-/`. Cannot be longer than 63 characters.

  • $msg->validate_only() / $msg->validate_only($value)

    Type: Bool

    If set, only validate the request, but do not actually create the node pool.

Google::Cloud::Gkemulticloud::V1::AwsService::UpdateAwsNodePoolRequest

Request message for `AwsClusters.UpdateAwsNodePool` method.

Inherits from Protobuf::Message.

Accessors

  • $msg->aws_node_pool() / $msg->aws_node_pool($value)

    Type: Message (Google::Cloud::Gkemulticloud::V1::AwsResources::AwsNodePool)

    Required. The [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource to update.

  • $msg->validate_only() / $msg->validate_only($value)

    Type: Bool

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

  • $msg->update_mask() / $msg->update_mask($value)

    Type: Message (Google::Protobuf::FieldMask::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][google.cloud.gkemulticloud.v1.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`.

Google::Cloud::Gkemulticloud::V1::AwsService::RollbackAwsNodePoolUpdateRequest

Request message for `AwsClusters.RollbackAwsNodePoolUpdate` method.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of the [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource to rollback.

    `AwsNodePool` names are formatted as `projects/<project-id>/locations/<region>/awsClusters/<cluster-id>/awsNodePools/<node-pool-id>`.

    See [Resource Names](https://cloud.google.com/apis/design/resource_names) for more details on Google Cloud resource names.

  • $msg->respect_pdb() / $msg->respect_pdb($value)

    Type: Bool

    Optional. Option for rollback to ignore the PodDisruptionBudget when draining the node pool nodes. Default value is false.

Google::Cloud::Gkemulticloud::V1::AwsService::GetAwsNodePoolRequest

Request message for `AwsClusters.GetAwsNodePool` method.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of the [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource to describe.

    `AwsNodePool` names are formatted as `projects/<project-id>/locations/<region>/awsClusters/<cluster-id>/awsNodePools/<node-pool-id>`.

    See [Resource Names](https://cloud.google.com/apis/design/resource_names) for more details on Google Cloud resource names.

Google::Cloud::Gkemulticloud::V1::AwsService::ListAwsNodePoolsRequest

Request message for `AwsClusters.ListAwsNodePools` method.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent `AwsCluster` which owns this collection of [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources.

    `AwsCluster` names are formatted as `projects/<project-id>/locations/<region>/awsClusters/<cluster-id>`.

    See [Resource Names](https://cloud.google.com/apis/design/resource_names) for more details on Google Cloud resource names.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    The maximum number of items to return.

    If not specified, a default value of 50 will be used by the service. Regardless of the pageSize value, the response can include a partial list and a caller should only rely on response's [nextPageToken][google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse.next_page_token] to determine if there are more instances left to be queried.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    The `nextPageToken` value returned from a previous [awsNodePools.list][google.cloud.gkemulticloud.v1.AwsClusters.ListAwsNodePools] request, if any.

Google::Cloud::Gkemulticloud::V1::AwsService::ListAwsNodePoolsResponse

Response message for `AwsClusters.ListAwsNodePools` method.

Inherits from Protobuf::Message.

Accessors

  • $msg->aws_node_pools() / $msg->aws_node_pools($value)

    Type: Message (Google::Cloud::Gkemulticloud::V1::AwsResources::AwsNodePool)

    A list of [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources in the specified `AwsCluster`.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    Token to retrieve the next page of results, or empty if there are no more results in the list.

Google::Cloud::Gkemulticloud::V1::AwsService::DeleteAwsNodePoolRequest

Request message for `AwsClusters.DeleteAwsNodePool` method.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The resource name the [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] to delete.

    `AwsNodePool` names are formatted as `projects/<project-id>/locations/<region>/awsClusters/<cluster-id>/awsNodePools/<node-pool-id>`.

    See [Resource Names](https://cloud.google.com/apis/design/resource_names) for more details on Google Cloud resource names.

  • $msg->validate_only() / $msg->validate_only($value)

    Type: Bool

    If set, only validate the request, but do not actually delete the node pool.

  • $msg->allow_missing() / $msg->allow_missing($value)

    Type: Bool

    If set to true, and the [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource is not found, the request will succeed but no action will be taken on the server and a completed [Operation][google.longrunning.Operation] will be returned.

    Useful for idempotent deletion.

  • $msg->ignore_errors() / $msg->ignore_errors($value)

    Type: Bool

    Optional. If set to true, the deletion of [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource will succeed even if errors occur during deleting in node pool resources. Using this parameter may result in orphaned resources in the node pool.

  • $msg->etag() / $msg->etag($value)

    Type: String

    The current ETag of the [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool].

    Allows clients to perform deletions through optimistic concurrency control.

    If the provided ETag does not match the current etag of the node pool, the request will fail and an ABORTED error will be returned.

Google::Cloud::Gkemulticloud::V1::AwsService::GetAwsOpenIdConfigRequest

GetAwsOpenIdConfigRequest gets the OIDC discovery document for the cluster. See the OpenID Connect Discovery 1.0 specification for details.

Inherits from Protobuf::Message.

Accessors

  • $msg->aws_cluster() / $msg->aws_cluster($value)

    Type: String

    Required. The AwsCluster, which owns the OIDC discovery document. Format: projects/{project}/locations/{location}/awsClusters/{cluster}

Google::Cloud::Gkemulticloud::V1::AwsService::GetAwsJsonWebKeysRequest

GetAwsJsonWebKeysRequest gets the public component of the keys used by the cluster to sign token requests. This will be the jwks_uri for the discover document returned by getOpenIDConfig. See the OpenID Connect Discovery 1.0 specification for details.

Inherits from Protobuf::Message.

Accessors

  • $msg->aws_cluster() / $msg->aws_cluster($value)

    Type: String

    Required. The AwsCluster, which owns the JsonWebKeys. Format: projects/{project}/locations/{location}/awsClusters/{cluster}

Google::Cloud::Gkemulticloud::V1::AwsService::GetAwsServerConfigRequest

GetAwsServerConfigRequest gets the server config of GKE cluster on AWS.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of the [AwsServerConfig][google.cloud.gkemulticloud.v1.AwsServerConfig] resource to describe.

    `AwsServerConfig` names are formatted as `projects/<project-id>/locations/<region>/awsServerConfig`.

    See [Resource Names](https://cloud.google.com/apis/design/resource_names) for more details on Google Cloud resource names.

Google::Cloud::Gkemulticloud::V1::AwsService::GenerateAwsAccessTokenRequest

Request message for `AwsClusters.GenerateAwsAccessToken` method.

Inherits from Protobuf::Message.

Accessors

  • $msg->aws_cluster() / $msg->aws_cluster($value)

    Type: String

    Required. The name of the [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource to authenticate to.

    `AwsCluster` names are formatted as `projects/<project-id>/locations/<region>/awsClusters/<cluster-id>`.

    See [Resource Names](https://cloud.google.com/apis/design/resource_names) for more details on Google Cloud resource names.

Google::Cloud::Gkemulticloud::V1::AwsService::GenerateAwsAccessTokenResponse

Response message for `AwsClusters.GenerateAwsAccessToken` method.

Inherits from Protobuf::Message.

Accessors

  • $msg->access_token() / $msg->access_token($value)

    Type: String

    Output only. Access token to authenticate to k8s api-server.

  • $msg->expiration_time() / $msg->expiration_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. Timestamp at which the token will expire.

Google::Cloud::Gkemulticloud::V1::AwsService::GenerateAwsClusterAgentTokenRequest

Inherits from Protobuf::Message.

Accessors

  • $msg->aws_cluster() / $msg->aws_cluster($value)

    Type: String

    Required.

  • $msg->subject_token() / $msg->subject_token($value)

    Type: String

    Required.

  • $msg->subject_token_type() / $msg->subject_token_type($value)

    Type: String

    Required.

  • $msg->version() / $msg->version($value)

    Type: String

    Required.

  • $msg->node_pool_id() / $msg->node_pool_id($value)

    Type: String

    Optional.

  • $msg->grant_type() / $msg->grant_type($value)

    Type: String

    Optional.

  • $msg->audience() / $msg->audience($value)

    Type: String

    Optional.

  • $msg->scope() / $msg->scope($value)

    Type: String

    Optional.

  • $msg->requested_token_type() / $msg->requested_token_type($value)

    Type: String

    Optional.

  • $msg->options() / $msg->options($value)

    Type: String

    Optional.

Google::Cloud::Gkemulticloud::V1::AwsService::GenerateAwsClusterAgentTokenResponse

Inherits from Protobuf::Message.

Accessors

  • $msg->access_token() / $msg->access_token($value)

    Type: String

  • $msg->expires_in() / $msg->expires_in($value)

    Type: Int32

  • $msg->token_type() / $msg->token_type($value)

    Type: String

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Gkemulticloud::V1::AwsService::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.