Reference documentation and code samples for the Google Cloud Gke Hub V1beta1 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.v1beta1.MembershipEndpoint
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ gke_cluster
↳ on_prem_cluster
Google\Cloud\GkeHub\V1beta1\OnPremCluster
Optional. Specific information for a GKE On-Prem cluster. An onprem user-cluster who has no resourceLink is not allowed to use this field, it should have a nil "type" instead.
↳ multi_cloud_cluster
Google\Cloud\GkeHub\V1beta1\MultiCloudCluster
Optional. Specific information for a GKE Multi-Cloud cluster.
↳ edge_cluster
↳ appliance_cluster
Google\Cloud\GkeHub\V1beta1\ApplianceCluster
Optional. Specific information for a GDC Edge Appliance cluster.
↳ kubernetes_metadata
↳ kubernetes_resource
Google\Cloud\GkeHub\V1beta1\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.
getGkeCluster
Optional. Specific information for a GKE-on-GCP cluster.
hasGkeCluster
setGkeCluster
Optional. Specific information for a GKE-on-GCP cluster.
$this
getOnPremCluster
Optional. Specific information for a GKE On-Prem cluster. An onprem user-cluster who has no resourceLink is not allowed to use this field, it should have a nil "type" instead.
hasOnPremCluster
setOnPremCluster
Optional. Specific information for a GKE On-Prem cluster. An onprem user-cluster who has no resourceLink is not allowed to use this field, it should have a nil "type" instead.
$this
getMultiCloudCluster
Optional. Specific information for a GKE Multi-Cloud cluster.
hasMultiCloudCluster
setMultiCloudCluster
Optional. Specific information for a GKE Multi-Cloud cluster.
$this
getEdgeCluster
Optional. Specific information for a Google Edge cluster.
hasEdgeCluster
setEdgeCluster
Optional. Specific information for a Google Edge cluster.
$this
getApplianceCluster
Optional. Specific information for a GDC Edge Appliance cluster.
hasApplianceCluster
setApplianceCluster
Optional. Specific information for a GDC Edge Appliance 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
getType
string