NAME
Google::Cloud::Gkemulticloud::V1::AttachedResources - Compiled Protocol Buffers messages for google/cloud/gkemulticloud/v1/attached_resources.proto
SYNOPSIS
use Google::Cloud::Gkemulticloud::V1::AttachedResources;
my $msg = Google::Cloud::Gkemulticloud::V1::AttachedResources::AttachedCluster->new({
name => $name,
description => $description,
oidc_config => $oidc_config,
platform_version => $platform_version,
});
# Read or update a field
my $val = $msg->name();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Gkemulticloud::V1::AttachedResources::AttachedCluster->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/gkemulticloud/v1/attached_resources.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::AttachedResources::AttachedCluster
An Anthos cluster running on customer own infrastructure.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringThe name of this resource.
Cluster names are formatted as `projects/<project-number>/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->description()/$msg->description($value)Type:
StringOptional. A human readable description of this cluster. Cannot be longer than 255 UTF-8 encoded bytes.
$msg->oidc_config()/$msg->oidc_config($value)Type:
Message(Google::Cloud::Gkemulticloud::V1::AttachedResources::AttachedOidcConfig)Required. OpenID Connect (OIDC) configuration for the cluster.
$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->cluster_region()/$msg->cluster_region($value)Type:
StringOutput only. The region where this cluster runs.
For EKS clusters, this is a AWS region. For AKS clusters, this is an Azure region.
$msg->fleet()/$msg->fleet($value)Type:
Message(Google::Cloud::Gkemulticloud::V1::CommonResources::Fleet)Required. Fleet configuration.
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Gkemulticloud::V1::AttachedCluster::State)Output only. The current state of the cluster.
$msg->uid()/$msg->uid($value)Type:
StringOutput only. A globally unique identifier for the cluster.
$msg->reconciling()/$msg->reconciling($value)Type:
BoolOutput only. If set, there are currently changes in flight to the cluster.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time at which this cluster was registered.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time at which this cluster was last updated.
$msg->etag()/$msg->etag($value)Type:
StringAllows clients to perform consistent read-modify-writes through optimistic concurrency control.
Can be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
$msg->kubernetes_version()/$msg->kubernetes_version($value)Type:
StringOutput only. The Kubernetes version of the cluster.
$msg->annotations()/$msg->annotations($value)Type:
Message(Google::Cloud::Gkemulticloud::V1::AttachedResources::AttachedCluster::AnnotationsEntry)Optional. Annotations on the cluster.
This field has the same restrictions as Kubernetes annotations. The total size of all keys and values combined is limited to 256k. Key can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between.
$msg->workload_identity_config()/$msg->workload_identity_config($value)Type:
Message(Google::Cloud::Gkemulticloud::V1::CommonResources::WorkloadIdentityConfig)Output only. Workload Identity settings.
$msg->logging_config()/$msg->logging_config($value)Type:
Message(Google::Cloud::Gkemulticloud::V1::CommonResources::LoggingConfig)Optional. Logging configuration for this cluster.
$msg->errors()/$msg->errors($value)Type:
Message(Google::Cloud::Gkemulticloud::V1::AttachedResources::AttachedClusterError)Output only. A set of errors found in the cluster.
$msg->authorization()/$msg->authorization($value)Type:
Message(Google::Cloud::Gkemulticloud::V1::AttachedResources::AttachedClustersAuthorization)Optional. Configuration related to the cluster RBAC settings.
$msg->monitoring_config()/$msg->monitoring_config($value)Type:
Message(Google::Cloud::Gkemulticloud::V1::CommonResources::MonitoringConfig)Optional. Monitoring configuration for this cluster.
$msg->proxy_config()/$msg->proxy_config($value)Type:
Message(Google::Cloud::Gkemulticloud::V1::AttachedResources::AttachedProxyConfig)Optional. Proxy configuration for outbound HTTP(S) traffic.
$msg->binary_authorization()/$msg->binary_authorization($value)Type:
Message(Google::Cloud::Gkemulticloud::V1::CommonResources::BinaryAuthorization)Optional. Binary Authorization configuration for this cluster.
$msg->security_posture_config()/$msg->security_posture_config($value)Type:
Message(Google::Cloud::Gkemulticloud::V1::CommonResources::SecurityPostureConfig)Optional. Security Posture configuration for this cluster.
$msg->tags()/$msg->tags($value)Type:
Message(Google::Cloud::Gkemulticloud::V1::AttachedResources::AttachedCluster::TagsEntry)Optional. Input only. Tag keys and values directly bound to this resource.
The tag key must be specified in the format `<tag namespace>/<tag key name>,` where the tag namespace is the ID of the organization or name of the project that the tag key is defined in. The short name of a tag key or value can have a maximum length of 256 characters. The permitted character set for the short name includes UTF-8 encoded Unicode characters except single quotation marks (`'`), double quotation marks (`"`), backslashes (`\`), and forward slashes (`/`).
See [Tags](https://cloud.google.com/resource-manager/docs/tags/tags-overview) for more details on Google Cloud Platform tags.
$msg->system_components_config()/$msg->system_components_config($value)Type:
Message(Google::Cloud::Gkemulticloud::V1::AttachedResources::SystemComponentsConfig)Optional. Kubernetes configurations for auto-installed components on the cluster.
Enum: AttachedCluster::State
STATE_UNSPECIFIED=>0PROVISIONING=>1RUNNING=>2RECONCILING=>3STOPPING=>4ERROR=>5DEGRADED=>6
Google::Cloud::Gkemulticloud::V1::AttachedResources::AttachedClustersAuthorization
Configuration related to the cluster RBAC settings.
Inherits from Protobuf::Message.
Accessors
$msg->admin_users()/$msg->admin_users($value)Type:
Message(Google::Cloud::Gkemulticloud::V1::AttachedResources::AttachedClusterUser)Optional. Users that can perform operations as a cluster admin. A managed ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole to the users. Up to ten admin users can be provided.
For more info on RBAC, see https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
$msg->admin_groups()/$msg->admin_groups($value)Type:
Message(Google::Cloud::Gkemulticloud::V1::AttachedResources::AttachedClusterGroup)Optional. Groups of users that can perform operations as a cluster admin. A managed ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole to the groups. Up to ten admin groups can be provided.
For more info on RBAC, see https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
Google::Cloud::Gkemulticloud::V1::AttachedResources::AttachedClusterUser
Identities of a user-type subject for Attached clusters.
Inherits from Protobuf::Message.
Accessors
$msg->username()/$msg->username($value)Type:
StringRequired. The name of the user, e.g. `my-gcp-id@gmail.com`.
Google::Cloud::Gkemulticloud::V1::AttachedResources::AttachedClusterGroup
Identities of a group-type subject for Attached clusters.
Inherits from Protobuf::Message.
Accessors
$msg->group()/$msg->group($value)Type:
StringRequired. The name of the group, e.g. `my-group@domain.com`.
Google::Cloud::Gkemulticloud::V1::AttachedResources::AttachedOidcConfig
OIDC discovery information of the target cluster.
Kubernetes Service Account (KSA) tokens are JWT tokens signed by the cluster API server. This fields indicates how Google Cloud Platform services validate KSA tokens in order to allow system workloads (such as GKE Connect and telemetry agents) to authenticate back to Google Cloud Platform.
Both clusters with public and private issuer URLs are supported. Clusters with public issuers only need to specify the `issuer_url` field while clusters with private issuers need to provide both `issuer_url` and `oidc_jwks`.
Inherits from Protobuf::Message.
Accessors
$msg->issuer_url()/$msg->issuer_url($value)Type:
StringA JSON Web Token (JWT) issuer URI. `issuer` must start with `https://`.
$msg->jwks()/$msg->jwks($value)Type:
BytesOptional. OIDC verification keys in JWKS format (RFC 7517). It contains a list of OIDC verification keys that can be used to verify OIDC JWTs.
This field is required for cluster that doesn't have a publicly available discovery endpoint. When provided, it will be directly used to verify the OIDC JWT asserted by the IDP.
Google::Cloud::Gkemulticloud::V1::AttachedResources::AttachedServerConfig
AttachedServerConfig provides information about supported Kubernetes versions
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringThe resource name of the config.
$msg->valid_versions()/$msg->valid_versions($value)Type:
Message(Google::Cloud::Gkemulticloud::V1::AttachedResources::AttachedPlatformVersionInfo)List of valid platform versions.
Google::Cloud::Gkemulticloud::V1::AttachedResources::AttachedPlatformVersionInfo
Information about a supported Attached Clusters platform version.
Inherits from Protobuf::Message.
Accessors
$msg->version()/$msg->version($value)Type:
StringPlatform version name.
$msg->enabled()/$msg->enabled($value)Type:
BoolOptional. True if the version is available for attachedcluster creation. If a version is enabled, it can be used to attach new clusters.
$msg->end_of_life()/$msg->end_of_life($value)Type:
BoolOptional. True if this cluster version belongs to a minor version that has reached its end of life and is no longer in scope to receive security and bug fixes.
$msg->end_of_life_date()/$msg->end_of_life_date($value)Type:
Message(Google::Type::Date::Date)Optional. The estimated date (in Pacific Time) when this cluster version will reach its end of life. Or if this version is no longer supported (the `end_of_life` field is true), this is the actual date (in Pacific time) when the version reached its end of life.
$msg->release_date()/$msg->release_date($value)Type:
Message(Google::Type::Date::Date)Optional. The date (in Pacific Time) when the cluster version was released.
Google::Cloud::Gkemulticloud::V1::AttachedResources::AttachedClusterError
AttachedClusterError describes errors found on attached clusters.
Inherits from Protobuf::Message.
Accessors
$msg->message()/$msg->message($value)Type:
StringHuman-friendly description of the error.
Google::Cloud::Gkemulticloud::V1::AttachedResources::AttachedProxyConfig
Details of a proxy config.
Inherits from Protobuf::Message.
Accessors
$msg->kubernetes_secret()/$msg->kubernetes_secret($value)Type:
Message(Google::Cloud::Gkemulticloud::V1::AttachedResources::KubernetesSecret)The Kubernetes Secret resource that contains the HTTP(S) proxy configuration. The secret must be a JSON encoded proxy configuration as described in https://cloud.google.com/kubernetes-engine/multi-cloud/docs/attached/eks/how-to/use-a-proxy#configure-proxy-support for EKS clusters and https://cloud.google.com/kubernetes-engine/multi-cloud/docs/attached/aks/how-to/use-a-proxy#configure-proxy-support for AKS clusters.
Google::Cloud::Gkemulticloud::V1::AttachedResources::KubernetesSecret
Information about a Kubernetes Secret
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringName of the kubernetes secret.
$msg->namespace()/$msg->namespace($value)Type:
StringNamespace in which the kubernetes secret is stored.
Google::Cloud::Gkemulticloud::V1::AttachedResources::SystemComponentsConfig
SystemComponentsConfig defines the fields for customizing configurations for auto-installed components.
Inherits from Protobuf::Message.
Accessors
$msg->tolerations()/$msg->tolerations($value)Type:
Message(Google::Cloud::Gkemulticloud::V1::AttachedResources::Toleration)Sets custom tolerations for pods created by auto-installed components.
$msg->labels()/$msg->labels($value)Type:
Message(Google::Cloud::Gkemulticloud::V1::AttachedResources::Label)Sets custom labels for pods created by auto-installed components.
Google::Cloud::Gkemulticloud::V1::AttachedResources::Toleration
Toleration defines the fields for tolerations for pods created by auto-installed components.
Inherits from Protobuf::Message.
Accessors
$msg->key()/$msg->key($value)Type:
StringKey is the taint key that the toleration applies to.
$msg->value()/$msg->value($value)Type:
StringValue is the taint value that the toleration applies to.
$msg->key_operator()/$msg->key_operator($value)Type:
Enum(Google::Cloud::Gkemulticloud::V1::Toleration::KeyOperator)KeyOperator represents a key's relationship to the value e.g. 'Exist'.
$msg->effect()/$msg->effect($value)Type:
Enum(Google::Cloud::Gkemulticloud::V1::Toleration::Effect)Effect indicates the taint effect to match e.g. 'NoSchedule'
Enum: Toleration::KeyOperator
KEY_OPERATOR_UNSPECIFIED=>0KEY_OPERATOR_EQUAL=>1KEY_OPERATOR_EXISTS=>2
Enum: Toleration::Effect
EFFECT_UNSPECIFIED=>0EFFECT_NO_SCHEDULE=>1EFFECT_PREFER_NO_SCHEDULE=>2EFFECT_NO_EXECUTE=>3
Google::Cloud::Gkemulticloud::V1::AttachedResources::Label
Label defines the additional fields for labels for pods created by auto-installed components.
Inherits from Protobuf::Message.
Accessors
$msg->key()/$msg->key($value)Type:
StringThis is the key of the label.
$msg->value()/$msg->value($value)Type:
StringThis is the value of the label.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Gkemulticloud::V1::AttachedResources::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.