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
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ gke_cluster |
Google\Cloud\GkeHub\V1\GkeCluster
Optional. GKE-specific information. Only present if this Membership is a GKE cluster. |
↳ kubernetes_metadata |
Google\Cloud\GkeHub\V1\KubernetesMetadata
Output only. Useful Kubernetes-specific metadata. |
↳ kubernetes_resource |
Google\Cloud\GkeHub\V1\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 |
Google\Cloud\GkeHub\V1\GkeCluster|null |
hasGkeCluster
clearGkeCluster
setGkeCluster
Optional. GKE-specific information. Only present if this Membership is a GKE cluster.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\GkeHub\V1\GkeCluster
|
Returns | |
---|---|
Type | Description |
$this |
getKubernetesMetadata
Output only. Useful Kubernetes-specific metadata.
Returns | |
---|---|
Type | Description |
Google\Cloud\GkeHub\V1\KubernetesMetadata|null |
hasKubernetesMetadata
clearKubernetesMetadata
setKubernetesMetadata
Output only. Useful Kubernetes-specific metadata.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\GkeHub\V1\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 |
Google\Cloud\GkeHub\V1\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 |
Google\Cloud\GkeHub\V1\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 |