Package types (1.2.0)

API documentation for gkehub_v1beta1.types package.

Classes

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

ConnectAgent

The information required from end users to use GKE Connect. .. attribute:: name

Do not set.

:type: str

ConnectAgentResource

ConnectAgentResource represents a Kubernetes resource manifest for Connect Agent deployment.

CreateMembershipRequest

Request message for the GkeHubMembershipService.CreateMembership method.

DeleteMembershipRequest

Request message for GkeHubMembershipService.DeleteMembership method.

GenerateConnectManifestRequest

Request message for GkeHubMembershipService.GenerateConnectManifest method. .

GenerateConnectManifestResponse

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

GenerateExclusivityManifestRequest

The request to generate the manifests for exclusivity artifacts.

GenerateExclusivityManifestResponse

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

GetMembershipRequest

Request message for GkeHubMembershipService.GetMembership method.

GkeCluster

GkeCluster contains information specific to GKE clusters. .. attribute:: resource_link

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.

:type: str

KubernetesMetadata

KubernetesMetadata provides informational metadata for Memberships representing Kubernetes clusters.

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.

ListMembershipsRequest

Request message for GkeHubMembershipService.ListMemberships method.

ListMembershipsResponse

Response message for the GkeHubMembershipService.ListMemberships method.

Membership

Membership contains information about a member cluster. .. attribute:: name

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.

    :type: str

MembershipEndpoint

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

MembershipState

State of the Membership resource. .. attribute:: code

Output only. The current state of the Membership resource.

:type: google.cloud.gkehub_v1beta1.types.MembershipState.Code

OperationMetadata

Represents the metadata of the long-running operation. .. attribute:: create_time

Output only. The time the operation was created.

:type: google.protobuf.timestamp_pb2.Timestamp

ResourceManifest

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

ResourceOptions

ResourceOptions represent options for Kubernetes resource generation.

TypeMeta

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

UpdateMembershipRequest

Request message for GkeHubMembershipService.UpdateMembership method.

ValidateExclusivityRequest

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

ValidateExclusivityResponse

The response of exclusivity artifacts validation result status.