Service Client: Google::Cloud::Gkehub::V1beta1::Membership::GkeHubMembershipServiceClient

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

target

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

credentials

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

NAME

Google::Cloud::Gkehub::V1beta1::Membership - Compiled Protocol Buffers messages for google/cloud/gkehub/v1beta1/membership.proto

SYNOPSIS

use Google::Cloud::Gkehub::V1beta1::Membership;

my $msg = Google::Cloud::Gkehub::V1beta1::Membership::Membership->new({
    name => $name,
    labels => $labels,
    description => $description,
    endpoint => $endpoint,
});

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

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Gkehub::V1beta1::Membership::Membership->parse($bytes);

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/gkehub/v1beta1/membership.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::Gkehub::V1beta1::Membership::Membership

Membership contains information about a member cluster.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Output only. The full, unique name of this Membership resource in the format `projects/*/locations/*/memberships/{membership_id}`, set during creation.

    `membership_id` must be a valid RFC 1123 compliant DNS label:

    1. At most 63 characters in length
    2. It must consist of lower case alphanumeric characters or `-`
    3. It must start and end with an alphanumeric character

    Which can be expressed as the regex: `[a-z0-9]([-a-z0-9]*[a-z0-9])?`, with a maximum length of 63 characters.

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

    Type: Message (Google::Cloud::Gkehub::V1beta1::Membership::Membership::LabelsEntry)

    Optional. GCP labels for this membership.

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

    Type: String

    Optional. Description of this membership, limited to 63 characters. Must match the regex: `[a-zA-Z0-9][a-zA-Z0-9_\-\.\ ]*`

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

    Type: Message (Google::Cloud::Gkehub::V1beta1::Membership::MembershipEndpoint)

    Optional. Endpoint information to reach this member.

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

    Type: Message (Google::Cloud::Gkehub::V1beta1::Membership::MembershipState)

    Output only. State of the Membership resource.

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

    Type: Message (Google::Cloud::Gkehub::V1beta1::Membership::Authority)

    Optional. How to identify workloads from this Membership. See the documentation on Workload Identity for more details: https://cloud.google.com/kubernetes-engine/docs/how-to/workload-identity

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

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

    Output only. When the Membership was created.

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

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

    Output only. When the Membership was last updated.

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

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

    Output only. When the Membership was deleted.

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

    Type: String

    Optional. An externally-generated and managed ID for this Membership. This ID may be modified after creation, but this is not recommended. For GKE clusters, external_id is managed by the Hub API and updates will be ignored.

    The ID must match the regex: `[a-zA-Z0-9][a-zA-Z0-9_\-\.]*`

    If this Membership represents a Kubernetes cluster, this value should be set to the UID of the `kube-system` namespace object.

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

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

    Output only. For clusters using Connect, the timestamp of the most recent connection established with Google Cloud. This time is updated every several minutes, not continuously. For clusters that do not use GKE Connect, or that have never connected successfully, this field will be unset.

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

    Type: String

    Output only. Google-generated UUID for this resource. This is unique across all Membership resources. If a Membership resource is deleted and another resource with the same name is created, it gets a different unique_id.

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

    Type: Enum (Google::Cloud::Gkehub::V1beta1::Membership::InfrastructureType)

    Optional. The infrastructure type this Membership is running on.

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

    Type: Message (Google::Cloud::Gkehub::V1beta1::Membership::MonitoringConfig)

    Optional. The monitoring config information for this membership.

Enum: Membership::InfrastructureType

  • INFRASTRUCTURE_TYPE_UNSPECIFIED => 0

  • ON_PREM => 1

  • MULTI_CLOUD => 2

Google::Cloud::Gkehub::V1beta1::Membership::MembershipEndpoint

MembershipEndpoint contains information needed to contact a Kubernetes API, endpoint and any additional Kubernetes metadata.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Gkehub::V1beta1::Membership::KubernetesResource

KubernetesResource contains the YAML manifests and configuration for Membership Kubernetes resources in the cluster. After CreateMembership or UpdateMembership, these resources should be re-applied in the cluster.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Input only. The YAML representation of the Membership CR. This field is ignored for GKE clusters where Hub can read the CR directly.

    Callers should provide the CR that is currently present in the cluster during CreateMembership or UpdateMembership, or leave this field empty if none exists. The CR manifest is used to validate the cluster has not been registered with another Membership.

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

    Type: Message (Google::Cloud::Gkehub::V1beta1::Membership::ResourceManifest)

    Output only. Additional Kubernetes resources that need to be applied to the cluster after Membership creation, and after every update.

    This field is only populated in the Membership returned from a successful long-running operation from CreateMembership or UpdateMembership. It is not populated during normal GetMembership or ListMemberships requests. To get the resource manifest after the initial registration, the caller should make a UpdateMembership call with an empty field mask.

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

    Type: Message (Google::Cloud::Gkehub::V1beta1::Membership::ResourceManifest)

    Output only. The Kubernetes resources for installing the GKE Connect agent

    This field is only populated in the Membership returned from a successful long-running operation from CreateMembership or UpdateMembership. It is not populated during normal GetMembership or ListMemberships requests. To get the resource manifest after the initial registration, the caller should make a UpdateMembership call with an empty field mask.

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

    Type: Message (Google::Cloud::Gkehub::V1beta1::Membership::ResourceOptions)

    Optional. Options for Kubernetes resource generation.

Google::Cloud::Gkehub::V1beta1::Membership::ResourceOptions

ResourceOptions represent options for Kubernetes resource generation.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Optional. The Connect agent version to use for connect_resources. Defaults to the latest GKE Connect version. The version must be a currently supported version, obsolete versions will be rejected.

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

    Type: Bool

    Optional. Use `apiextensions/v1beta1` instead of `apiextensions/v1` for CustomResourceDefinition resources. This option should be set for clusters with Kubernetes apiserver versions <1.16.

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

    Type: String

    Optional. Major and minor version of the Kubernetes cluster. This is only used to determine which version to use for the CustomResourceDefinition resources, `apiextensions/v1beta1` or`apiextensions/v1`.

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

    Type: String

    Optional. Git version of the Kubernetes cluster. This is only used to gate the Connect Agent migration to svc.id.goog on GDC-SO 1.33.100 patch and above.

Google::Cloud::Gkehub::V1beta1::Membership::ResourceManifest

ResourceManifest represents a single Kubernetes resource to be applied to the cluster.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    YAML manifest of the resource.

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

    Type: Bool

    Whether the resource provided in the manifest is `cluster_scoped`. If unset, the manifest is assumed to be namespace scoped.

    This field is used for REST mapping when applying the resource in a cluster.

Google::Cloud::Gkehub::V1beta1::Membership::GkeCluster

GkeCluster contains information specific to GKE clusters.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Immutable. Self-link of the GCP resource for the GKE cluster. For example:

    //container.googleapis.com/projects/my-project/locations/us-west1-a/clusters/my-cluster

    Zonal clusters are also supported.

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

    Type: Bool

    Output only. If cluster_missing is set then it denotes that the GKE cluster no longer exists in the GKE Control Plane.

Google::Cloud::Gkehub::V1beta1::Membership::OnPremCluster

OnPremCluster contains information specific to GKE On-Prem clusters.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Immutable. Self-link of the GCP resource for the GKE On-Prem cluster. For example:

    //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/vmwareClusters/my-cluster
    //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/bareMetalClusters/my-cluster
  • $msg->cluster_missing() / $msg->cluster_missing($value)

    Type: Bool

    Output only. If cluster_missing is set then it denotes that API(gkeonprem.googleapis.com) resource for this GKE On-Prem cluster no longer exists.

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

    Type: Bool

    Immutable. Whether the cluster is an admin cluster.

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

    Type: Enum (Google::Cloud::Gkehub::V1beta1::OnPremCluster::ClusterType)

    Immutable. The on prem cluster's type.

Enum: OnPremCluster::ClusterType

  • CLUSTERTYPE_UNSPECIFIED => 0

  • BOOTSTRAP => 1

  • HYBRID => 2

  • STANDALONE => 3

  • USER => 4

Google::Cloud::Gkehub::V1beta1::Membership::MultiCloudCluster

MultiCloudCluster contains information specific to GKE Multi-Cloud clusters.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Immutable. Self-link of the GCP resource for the GKE Multi-Cloud cluster. For example:

    //gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-a/awsClusters/my-cluster
    //gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-a/azureClusters/my-cluster
    //gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-a/attachedClusters/my-cluster
  • $msg->cluster_missing() / $msg->cluster_missing($value)

    Type: Bool

    Output only. If cluster_missing is set then it denotes that API(gkemulticloud.googleapis.com) resource for this GKE Multi-Cloud cluster no longer exists.

Google::Cloud::Gkehub::V1beta1::Membership::EdgeCluster

EdgeCluster contains information specific to Google Edge Clusters.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Immutable. Self-link of the GCP resource for the Edge Cluster. For example:

    //edgecontainer.googleapis.com/projects/my-project/locations/us-west1-a/clusters/my-cluster

Google::Cloud::Gkehub::V1beta1::Membership::ApplianceCluster

ApplianceCluster contains information specific to GDC Edge Appliance Clusters.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Immutable. Self-link of the GCP resource for the Appliance Cluster. For example:

    //transferappliance.googleapis.com/projects/my-project/locations/us-west1-a/appliances/my-appliance

Google::Cloud::Gkehub::V1beta1::Membership::KubernetesMetadata

KubernetesMetadata provides informational metadata for Memberships representing Kubernetes clusters.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Output only. Kubernetes API server version string as reported by '/version'.

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

    Type: String

    Output only. Node providerID as reported by the first node in the list of nodes on the Kubernetes endpoint. On Kubernetes platforms that support zero-node clusters (like GKE-on-GCP), the node_count will be zero and the node_provider_id will be empty.

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

    Type: Int32

    Output only. Node count as reported by Kubernetes nodes resources.

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

    Type: Int32

    Output only. vCPU count as reported by Kubernetes nodes resources.

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

    Type: Int32

    Output only. The total memory capacity as reported by the sum of all Kubernetes nodes resources, defined in MB.

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

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

    Output only. The time at which these details were last updated. This update_time is different from the Membership-level update_time since EndpointDetails are updated internally for API consumers.

Google::Cloud::Gkehub::V1beta1::Membership::Authority

Authority encodes how Google will recognize identities from this Membership. See the workload identity documentation for more details: https://cloud.google.com/kubernetes-engine/docs/how-to/workload-identity

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Optional. A JSON Web Token (JWT) issuer URI. `issuer` must start with `https://` and be a valid URL with length <2000 characters.

    If set, then Google will allow valid OIDC tokens from this issuer to authenticate within the workload_identity_pool. OIDC discovery will be performed on this URI to validate tokens from the issuer.

    Clearing `issuer` disables Workload Identity. `issuer` cannot be directly modified; it must be cleared (and Workload Identity disabled) before using a new issuer (and re-enabling Workload Identity).

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

    Type: String

    Output only. The name of the workload identity pool in which `issuer` will be recognized.

    There is a single Workload Identity Pool per Hub that is shared between all Memberships that belong to that Hub. For a Hub hosted in {PROJECT_ID}, the workload pool format is `{PROJECT_ID}.hub.id.goog`, although this is subject to change in newer versions of this API.

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

    Type: String

    Output only. An identity provider that reflects the `issuer` in the workload identity pool.

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

    Type: Bytes

    Optional. OIDC verification keys for this Membership in JWKS format (RFC 7517).

    When this field is set, OIDC discovery will NOT be performed on `issuer`, and instead OIDC tokens will be validated using this field.

Google::Cloud::Gkehub::V1beta1::Membership::MonitoringConfig

This field informs Fleet-based applications/services/UIs with the necessary information for where each underlying Cluster reports its metrics.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Immutable. Project used to report Metrics

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

    Type: String

    Immutable. Location used to report Metrics

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

    Type: String

    Immutable. Cluster name used to report metrics. For Anthos on VMWare/Baremetal, it would be in format `memberClusters/cluster_name`; And for Anthos on MultiCloud, it would be in format `{azureClusters, awsClusters}/cluster_name`.

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

    Type: String

    Kubernetes system metrics, if available, are written to this prefix. This defaults to kubernetes.io for GKE, and kubernetes.io/anthos for Anthos eventually. Noted: Anthos MultiCloud will have kubernetes.io prefix today but will migration to be under kubernetes.io/anthos

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

    Type: String

    Immutable. Cluster hash, this is a unique string generated by google code, which does not contain any PII, which we can use to reference the cluster. This is expected to be created by the monitoring stack and persisted into the Cluster object as well as to GKE-Hub.

Google::Cloud::Gkehub::V1beta1::Membership::MembershipState

State of the Membership resource.

Inherits from Protobuf::Message.

Accessors

Enum: MembershipState::Code

  • CODE_UNSPECIFIED => 0

  • CREATING => 1

  • READY => 2

  • DELETING => 3

  • UPDATING => 4

  • SERVICE_UPDATING => 5

Google::Cloud::Gkehub::V1beta1::Membership::ListMembershipsRequest

Request message for `GkeHubMembershipService.ListMemberships` method.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The parent (project and location) where the Memberships will be listed. Specified in the format `projects/*/locations/*`. `projects/*/locations/-` list memberships in all the regions.

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

    Type: Int32

    Optional. When requesting a 'page' of resources, `page_size` specifies number of resources to return. If unspecified or set to 0, all resources will be returned.

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

    Type: String

    Optional. Token returned by previous call to `ListMemberships` which specifies the position in the list from where to continue listing the resources.

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

    Type: String

    Optional. Lists Memberships that match the filter expression, following the syntax outlined in https://google.aip.dev/160.

    Examples:

    - Name is `bar` in project `foo-proj` and location `global`:
    
        name = "projects/foo-proj/locations/global/membership/bar"
    
    - Memberships that have a label called `foo`:
    
        labels.foo:*
    
    - Memberships that have a label called `foo` whose value is `bar`:
    
        labels.foo = bar
    
    - Memberships in the CREATING state:
    
        state = CREATING
  • $msg->order_by() / $msg->order_by($value)

    Type: String

    Optional. One or more fields to compare and use to sort the output. See https://google.aip.dev/132#ordering.

Google::Cloud::Gkehub::V1beta1::Membership::ListMembershipsResponse

Response message for the `GkeHubMembershipService.ListMemberships` method.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Gkehub::V1beta1::Membership::Membership)

    The list of matching Memberships.

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

    Type: String

    A token to request the next page of resources from the `ListMemberships` method. The value of an empty string means that there are no more resources to return.

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

    Type: String

    List of locations that could not be reached while fetching this list.

Google::Cloud::Gkehub::V1beta1::Membership::GetMembershipRequest

Request message for `GkeHubMembershipService.GetMembership` method.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The Membership resource name in the format `projects/*/locations/*/memberships/*`.

Google::Cloud::Gkehub::V1beta1::Membership::CreateMembershipRequest

Request message for the `GkeHubMembershipService.CreateMembership` method.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The parent (project and location) where the Memberships will be created. Specified in the format `projects/*/locations/*`.

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

    Type: String

    Required. Client chosen ID for the membership. `membership_id` must be a valid RFC 1123 compliant DNS label:

    1. At most 63 characters in length
    2. It must consist of lower case alphanumeric characters or `-`
    3. It must start and end with an alphanumeric character

    Which can be expressed as the regex: `[a-z0-9]([-a-z0-9]*[a-z0-9])?`, with a maximum length of 63 characters.

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

    Type: Message (Google::Cloud::Gkehub::V1beta1::Membership::Membership)

    Required. The membership to create.

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

    Type: String

    Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

    The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Google::Cloud::Gkehub::V1beta1::Membership::DeleteMembershipRequest

Request message for `GkeHubMembershipService.DeleteMembership` method.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The Membership resource name in the format `projects/*/locations/*/memberships/*`.

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

    Type: String

    Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

    The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

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

    Type: Bool

    Optional. If set to true, any subresource from this Membership will also be deleted. Otherwise, the request will only work if the Membership has no subresource.

Google::Cloud::Gkehub::V1beta1::Membership::UpdateMembershipRequest

Request message for `GkeHubMembershipService.UpdateMembership` method.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The membership resource name in the format: `projects/[project_id]/locations/global/memberships/[membership_id]`

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

    Type: Message (Google::Protobuf::FieldMask::FieldMask)

    Required. Mask of fields to update. At least one field path must be specified in this mask.

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

    Type: Message (Google::Cloud::Gkehub::V1beta1::Membership::Membership)

    Required. Only fields specified in update_mask are updated. If you specify a field in the update_mask but don't specify its value here that field will be deleted. If you are updating a map field, set the value of a key to null or empty string to delete the key from the map. It's not possible to update a key's value to the empty string. If you specify the update_mask to be a special path "*", fully replaces all user-modifiable fields to match `resource`.

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

    Type: String

    Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

    The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Google::Cloud::Gkehub::V1beta1::Membership::GenerateConnectManifestRequest

Request message for `GkeHubMembershipService.GenerateConnectManifest` method.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The Membership resource name the Agent will associate with, in the format `projects/*/locations/*/memberships/*`.

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

    Type: Message (Google::Cloud::Gkehub::V1beta1::Membership::ConnectAgent)

    Optional. The connect agent to generate manifest for.

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

    Type: String

    Optional. The Connect agent version to use. Defaults to the most current version.

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

    Type: Bool

    Optional. If true, generate the resources for upgrade only. Some resources generated only for installation (e.g. secrets) will be excluded.

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

    Type: String

    Optional. The registry to fetch the connect agent image from. Defaults to gcr.io/gkeconnect.

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

    Type: Bytes

    Optional. The image pull secret content for the registry, if not public.

Google::Cloud::Gkehub::V1beta1::Membership::GenerateConnectManifestResponse

GenerateConnectManifestResponse contains manifest information for installing/upgrading a Connect agent.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Gkehub::V1beta1::Membership::ConnectAgentResource

ConnectAgentResource represents a Kubernetes resource manifest for Connect Agent deployment.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Gkehub::V1beta1::Membership::TypeMeta

TypeMeta is the type information needed for content unmarshalling of Kubernetes resources in the manifest.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Kind of the resource (e.g. Deployment).

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

    Type: String

    APIVersion of the resource (e.g. v1).

Google::Cloud::Gkehub::V1beta1::Membership::ConnectAgent

The information required from end users to use GKE Connect.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Do not set.

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

    Type: Bytes

    Optional. URI of a proxy if connectivity from the agent to gkeconnect.googleapis.com requires the use of a proxy. Format must be in the form `http(s)://{proxy_address}`, depending on the HTTP/HTTPS protocol supported by the proxy. This will direct the connect agent's outbound traffic through a HTTP(S) proxy.

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

    Type: String

    Optional. Namespace for GKE Connect agent resources. Defaults to `gke-connect`.

    The Connect Agent is authorized automatically when run in the default namespace. Otherwise, explicit authorization must be granted with an additional IAM binding.

Google::Cloud::Gkehub::V1beta1::Membership::ValidateExclusivityRequest

The request to validate the existing state of the membership CR in the cluster.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The parent (project and location) where the Memberships will be created. Specified in the format `projects/*/locations/*`.

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

    Type: String

    Optional. The YAML of the membership CR in the cluster. Empty if the membership CR does not exist.

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

    Type: String

    Required. The intended membership name under the `parent`. This method only does validation in anticipation of a CreateMembership call with the same name.

Google::Cloud::Gkehub::V1beta1::Membership::ValidateExclusivityResponse

The response of exclusivity artifacts validation result status.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Rpc::Status::Status)

    The validation result.

    * `OK` means that exclusivity is validated, assuming the manifest produced by GenerateExclusivityManifest is successfully applied. * `ALREADY_EXISTS` means that the Membership CRD is already owned by another Hub. See `status.message` for more information.

Google::Cloud::Gkehub::V1beta1::Membership::GenerateExclusivityManifestRequest

The request to generate the manifests for exclusivity artifacts.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The Membership resource name in the format `projects/*/locations/*/memberships/*`.

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

    Type: String

    Optional. The YAML manifest of the membership CRD retrieved by `kubectl get customresourcedefinitions membership`. Leave empty if the resource does not exist.

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

    Type: String

    Optional. The YAML manifest of the membership CR retrieved by `kubectl get memberships membership`. Leave empty if the resource does not exist.

Google::Cloud::Gkehub::V1beta1::Membership::GenerateExclusivityManifestResponse

The response of the exclusivity artifacts manifests for the client to apply.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    The YAML manifest of the membership CRD to apply if a newer version of the CRD is available. Empty if no update needs to be applied.

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

    Type: String

    The YAML manifest of the membership CR to apply if a new version of the CR is available. Empty if no update needs to be applied.

Google::Cloud::Gkehub::V1beta1::Membership::OperationMetadata

Represents the metadata of the long-running operation.

Inherits from Protobuf::Message.

Accessors

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

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

    Output only. The time the operation was created.

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

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

    Output only. The time the operation finished running.

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

    Type: String

    Output only. Server-defined resource path for the target of the operation.

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

    Type: String

    Output only. Name of the verb executed by the operation.

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

    Type: String

    Output only. Human-readable status of the operation, if any.

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

    Type: Bool

    Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have [Operation.error][] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to `Code.CANCELLED`.

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

    Type: String

    Output only. API version used to start the operation.

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Gkehub::V1beta1::Membership::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.