Google Cloud Gke Hub V1beta1 Client - Class MembershipEndpoint (0.8.2)

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

Namespace

Google \ Cloud \ GkeHub \ V1beta1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ gke_cluster Google\Cloud\GkeHub\V1beta1\GkeCluster

Optional. Specific information for a GKE-on-GCP 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 Google\Cloud\GkeHub\V1beta1\EdgeCluster

Optional. Specific information for a Google Edge cluster.

↳ appliance_cluster Google\Cloud\GkeHub\V1beta1\ApplianceCluster

Optional. Specific information for a GDC Edge Appliance cluster.

↳ kubernetes_metadata Google\Cloud\GkeHub\V1beta1\KubernetesMetadata

Output only. Useful Kubernetes-specific 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.

Returns
TypeDescription
Google\Cloud\GkeHub\V1beta1\GkeCluster|null

hasGkeCluster

setGkeCluster

Optional. Specific information for a GKE-on-GCP cluster.

Parameter
NameDescription
var Google\Cloud\GkeHub\V1beta1\GkeCluster
Returns
TypeDescription
$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.

Parameter
NameDescription
var Google\Cloud\GkeHub\V1beta1\OnPremCluster
Returns
TypeDescription
$this

getMultiCloudCluster

Optional. Specific information for a GKE Multi-Cloud cluster.

hasMultiCloudCluster

setMultiCloudCluster

Optional. Specific information for a GKE Multi-Cloud cluster.

Returns
TypeDescription
$this

getEdgeCluster

Optional. Specific information for a Google Edge cluster.

Returns
TypeDescription
Google\Cloud\GkeHub\V1beta1\EdgeCluster|null

hasEdgeCluster

setEdgeCluster

Optional. Specific information for a Google Edge cluster.

Parameter
NameDescription
var Google\Cloud\GkeHub\V1beta1\EdgeCluster
Returns
TypeDescription
$this

getApplianceCluster

Optional. Specific information for a GDC Edge Appliance cluster.

hasApplianceCluster

setApplianceCluster

Optional. Specific information for a GDC Edge Appliance cluster.

Returns
TypeDescription
$this

getKubernetesMetadata

Output only. Useful Kubernetes-specific metadata.

hasKubernetesMetadata

clearKubernetesMetadata

setKubernetesMetadata

Output only. Useful Kubernetes-specific metadata.

Returns
TypeDescription
$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.
Returns
TypeDescription
$this

getType

Returns
TypeDescription
string