Service Client: Google::Cloud::Gkemulticloud::V1::AttachedService::AttachedClustersClient
Client stub representing the remote AttachedClusters 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::AttachedService - Compiled Protocol Buffers messages for google/cloud/gkemulticloud/v1/attached_service.proto
SYNOPSIS
use Google::Cloud::Gkemulticloud::V1::AttachedService;
my $msg = Google::Cloud::Gkemulticloud::V1::AttachedService::GenerateAttachedClusterInstallManifestRequest->new({
parent => $parent,
attached_cluster_id => $attached_cluster_id,
platform_version => $platform_version,
proxy_config => $proxy_config,
});
# Read or update a field
my $val = $msg->parent();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Gkemulticloud::V1::AttachedService::GenerateAttachedClusterInstallManifestRequest->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/gkemulticloud/v1/attached_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::AttachedService::GenerateAttachedClusterInstallManifestRequest
Request message for `AttachedClusters.GenerateAttachedClusterInstallManifest` method.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent location where this [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] 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->attached_cluster_id()/$msg->attached_cluster_id($value)Type:
StringRequired. A client provided ID of the resource. Must be unique within the parent resource.
The provided ID will be part of the [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource name formatted as `projects/<project-id>/locations/<region>/attachedClusters/<cluster-id>`.
Valid characters are `/[a-z][0-9]-/`. Cannot be longer than 63 characters.
When generating an install manifest for importing an existing Membership resource, the attached_cluster_id field must be the Membership id.
Membership names are formatted as `projects/<project-id>/locations/<region>/memberships/<membership-id>`.
$msg->platform_version()/$msg->platform_version($value)Type:
StringRequired. The platform version for the cluster (e.g. `1.19.0-gke.1000`).
You can list all supported versions on a given Google Cloud region by calling [GetAttachedServerConfig][google.cloud.gkemulticloud.v1.AttachedClusters.GetAttachedServerConfig].
$msg->proxy_config()/$msg->proxy_config($value)Type:
Message(Google::Cloud::Gkemulticloud::V1::AttachedResources::AttachedProxyConfig)Optional. Proxy configuration for outbound HTTP(S) traffic.
Google::Cloud::Gkemulticloud::V1::AttachedService::GenerateAttachedClusterInstallManifestResponse
Response message for `AttachedClusters.GenerateAttachedClusterInstallManifest` method.
Inherits from Protobuf::Message.
Accessors
$msg->manifest()/$msg->manifest($value)Type:
StringA set of Kubernetes resources (in YAML format) to be applied to the cluster to be attached.
Google::Cloud::Gkemulticloud::V1::AttachedService::CreateAttachedClusterRequest
Request message for `AttachedClusters.CreateAttachedCluster` method.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent location where this [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] 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->attached_cluster()/$msg->attached_cluster($value)Type:
Message(Google::Cloud::Gkemulticloud::V1::AttachedResources::AttachedCluster)Required. The specification of the [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] to create.
$msg->attached_cluster_id()/$msg->attached_cluster_id($value)Type:
StringRequired. A client provided ID the resource. Must be unique within the parent resource.
The provided ID will be part of the [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource name formatted as `projects/<project-id>/locations/<region>/attachedClusters/<cluster-id>`.
Valid characters are `/[a-z][0-9]-/`. Cannot be longer than 63 characters.
$msg->validate_only()/$msg->validate_only($value)Type:
BoolIf set, only validate the request, but do not actually create the cluster.
Google::Cloud::Gkemulticloud::V1::AttachedService::ImportAttachedClusterRequest
Request message for `AttachedClusters.ImportAttachedCluster` method.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent location where this [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] 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->validate_only()/$msg->validate_only($value)Type:
BoolIf set, only validate the request, but do not actually import the cluster.
$msg->fleet_membership()/$msg->fleet_membership($value)Type:
StringRequired. The name of the fleet membership resource to import.
$msg->platform_version()/$msg->platform_version($value)Type:
StringRequired. The platform version for the cluster (e.g. `1.19.0-gke.1000`).
You can list all supported versions on a given Google Cloud region by calling [GetAttachedServerConfig][google.cloud.gkemulticloud.v1.AttachedClusters.GetAttachedServerConfig].
$msg->distribution()/$msg->distribution($value)Type:
StringRequired. The Kubernetes distribution of the underlying attached cluster.
Supported values: ["eks", "aks", "generic"].
$msg->proxy_config()/$msg->proxy_config($value)Type:
Message(Google::Cloud::Gkemulticloud::V1::AttachedResources::AttachedProxyConfig)Optional. Proxy configuration for outbound HTTP(S) traffic.
Google::Cloud::Gkemulticloud::V1::AttachedService::UpdateAttachedClusterRequest
Request message for `AttachedClusters.UpdateAttachedCluster` method.
Inherits from Protobuf::Message.
Accessors
$msg->attached_cluster()/$msg->attached_cluster($value)Type:
Message(Google::Cloud::Gkemulticloud::V1::AttachedResources::AttachedCluster)Required. The [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource to update.
$msg->validate_only()/$msg->validate_only($value)Type:
BoolIf 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 [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]:
* `annotations`. * `authorization.admin_groups`. * `authorization.admin_users`. * `binary_authorization.evaluation_mode`. * `description`. * `logging_config.component_config.enable_components`. * `monitoring_config.managed_prometheus_config.enabled`. * `platform_version`. * `proxy_config.kubernetes_secret.name`. * `proxy_config.kubernetes_secret.namespace`. * `security_posture_config.vulnerability_mode` * `monitoring_config.cloud_monitoring_config.enabled`
Google::Cloud::Gkemulticloud::V1::AttachedService::GetAttachedClusterRequest
Request message for `AttachedClusters.GetAttachedCluster` method.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource to describe.
`AttachedCluster` names are formatted as `projects/<project-id>/locations/<region>/attachedClusters/<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::AttachedService::ListAttachedClustersRequest
Request message for `AttachedClusters.ListAttachedClusters` method.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent location which owns this collection of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] 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:
Int32The 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.ListAttachedClustersResponse.next_page_token] to determine if there are more instances left to be queried.
$msg->page_token()/$msg->page_token($value)Type:
StringThe `nextPageToken` value returned from a previous [attachedClusters.list][google.cloud.gkemulticloud.v1.AttachedClusters.ListAttachedClusters] request, if any.
Google::Cloud::Gkemulticloud::V1::AttachedService::ListAttachedClustersResponse
Response message for `AttachedClusters.ListAttachedClusters` method.
Inherits from Protobuf::Message.
Accessors
$msg->attached_clusters()/$msg->attached_clusters($value)Type:
Message(Google::Cloud::Gkemulticloud::V1::AttachedResources::AttachedCluster)A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resources in the specified Google Cloud Platform project and region region.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringToken to retrieve the next page of results, or empty if there are no more results in the list.
Google::Cloud::Gkemulticloud::V1::AttachedService::DeleteAttachedClusterRequest
Request message for `AttachedClusters.DeleteAttachedCluster` method.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The resource name the [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] to delete.
`AttachedCluster` names are formatted as `projects/<project-id>/locations/<region>/attachedClusters/<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:
BoolIf set, only validate the request, but do not actually delete the resource.
$msg->allow_missing()/$msg->allow_missing($value)Type:
BoolIf set to true, and the [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] 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:
BoolIf set to true, the deletion of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] 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:
StringThe current etag of the [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster].
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::AttachedService::GetAttachedServerConfigRequest
GetAttachedServerConfigRequest gets the server config for attached clusters.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the [AttachedServerConfig][google.cloud.gkemulticloud.v1.AttachedServerConfig] resource to describe.
`AttachedServerConfig` names are formatted as `projects/<project-id>/locations/<region>/attachedServerConfig`.
See [Resource Names](https://cloud.google.com/apis/design/resource_names) for more details on Google Cloud resource names.
Google::Cloud::Gkemulticloud::V1::AttachedService::GenerateAttachedClusterAgentTokenRequest
Inherits from Protobuf::Message.
Accessors
$msg->attached_cluster()/$msg->attached_cluster($value)Type:
StringRequired.
$msg->subject_token()/$msg->subject_token($value)Type:
StringRequired.
$msg->subject_token_type()/$msg->subject_token_type($value)Type:
StringRequired.
$msg->version()/$msg->version($value)Type:
StringRequired.
$msg->grant_type()/$msg->grant_type($value)Type:
StringOptional.
$msg->audience()/$msg->audience($value)Type:
StringOptional.
$msg->scope()/$msg->scope($value)Type:
StringOptional.
$msg->requested_token_type()/$msg->requested_token_type($value)Type:
StringOptional.
$msg->options()/$msg->options($value)Type:
StringOptional.
Google::Cloud::Gkemulticloud::V1::AttachedService::GenerateAttachedClusterAgentTokenResponse
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::AttachedService::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.