Reference documentation and code samples for the Google Cloud Gke Hub V1 Client class MembershipEndpoint.
MembershipEndpoint contains information needed to contact a Kubernetes API, endpoint and any additional Kubernetes metadata.
Generated from protobuf message google.cloud.gkehub.v1.MembershipEndpoint
Namespace
Google \ Cloud \ GkeHub \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ gke_cluster
↳ kubernetes_metadata
↳ kubernetes_resource
KubernetesResource
Optional. The in-cluster Kubernetes Resources that should be applied for a correctly registered cluster, in the steady state. These resources: * * Ensure that the cluster is exclusively registered to one and only one Hub Membership. * * Propagate Workload Pool Information available in the Membership Authority field. * * Ensure proper initial configuration of default Hub Features.
↳ google_managed
bool
Output only. Whether the lifecycle of this membership is managed by a google cluster platform service.
getGkeCluster
Optional. GKE-specific information. Only present if this Membership is a GKE cluster.
hasGkeCluster
clearGkeCluster
setGkeCluster
Optional. GKE-specific information. Only present if this Membership is a GKE cluster.
$this
getKubernetesMetadata
Output only. Useful Kubernetes-specific metadata.
hasKubernetesMetadata
clearKubernetesMetadata
setKubernetesMetadata
Output only. Useful Kubernetes-specific metadata.
$this
getKubernetesResource
Optional. The in-cluster Kubernetes Resources that should be applied for a correctly registered cluster, in the steady state. These resources:
- Ensure that the cluster is exclusively registered to one and only one Hub Membership.
- Propagate Workload Pool Information available in the Membership
Authority field.
- Ensure proper initial configuration of default Hub Features.
hasKubernetesResource
clearKubernetesResource
setKubernetesResource
Optional. The in-cluster Kubernetes Resources that should be applied for a correctly registered cluster, in the steady state. These resources:
- Ensure that the cluster is exclusively registered to one and only one Hub Membership.
- Propagate Workload Pool Information available in the Membership
Authority field.
- Ensure proper initial configuration of default Hub Features.
$this
getGoogleManaged
Output only. Whether the lifecycle of this membership is managed by a google cluster platform service.
bool
setGoogleManaged
Output only. Whether the lifecycle of this membership is managed by a google cluster platform service.
var
bool
$this