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

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.

Parameters
Name
Description
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
Type
Description

hasGkeCluster

setGkeCluster

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

Parameter
Name
Description
Returns
Type
Description
$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.

Returns
Type
Description

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
Name
Description
Returns
Type
Description
$this

getMultiCloudCluster

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

Returns
Type
Description

hasMultiCloudCluster

setMultiCloudCluster

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

Parameter
Name
Description
Returns
Type
Description
$this

getEdgeCluster

Optional. Specific information for a Google Edge cluster.

Returns
Type
Description

hasEdgeCluster

setEdgeCluster

Optional. Specific information for a Google Edge cluster.

Parameter
Name
Description
Returns
Type
Description
$this

getApplianceCluster

Optional. Specific information for a GDC Edge Appliance cluster.

Returns
Type
Description

hasApplianceCluster

setApplianceCluster

Optional. Specific information for a GDC Edge Appliance cluster.

Parameter
Name
Description
Returns
Type
Description
$this

Output only. Useful Kubernetes-specific metadata.

Returns
Type
Description

Output only. Useful Kubernetes-specific metadata.

Parameter
Name
Description
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

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
Returns
Type
Description
$this

getType

Returns
Type
Description
string
Design a Mobile Site
View Site in Mobile | Classic
Share by: