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.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ gke_cluster |
GkeCluster
Optional. GKE-specific information. Only present if this Membership is a GKE cluster. |
↳ kubernetes_metadata |
KubernetesMetadata
Output only. Useful Kubernetes-specific 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.
Returns | |
---|---|
Type | Description |
GkeCluster|null |
hasGkeCluster
clearGkeCluster
setGkeCluster
Optional. GKE-specific information. Only present if this Membership is a GKE cluster.
Parameter | |
---|---|
Name | Description |
var |
GkeCluster
|
Returns | |
---|---|
Type | Description |
$this |
getKubernetesMetadata
Output only. Useful Kubernetes-specific metadata.
Returns | |
---|---|
Type | Description |
KubernetesMetadata|null |
hasKubernetesMetadata
clearKubernetesMetadata
setKubernetesMetadata
Output only. Useful Kubernetes-specific metadata.
Parameter | |
---|---|
Name | Description |
var |
KubernetesMetadata
|
Returns | |
---|---|
Type | Description |
$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.
Returns | |
---|---|
Type | Description |
KubernetesResource|null |
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.
Parameter | |
---|---|
Name | Description |
var |
KubernetesResource
|
Returns | |
---|---|
Type | Description |
$this |
getGoogleManaged
Output only. Whether the lifecycle of this membership is managed by a google cluster platform service.
Returns | |
---|---|
Type | Description |
bool |
setGoogleManaged
Output only. Whether the lifecycle of this membership is managed by a google cluster platform service.
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |