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 |
Google\Cloud\GkeHub\V1beta1\GkeCluster|null |
hasGkeCluster
setGkeCluster
Optional. Specific information for a GKE-on-GCP cluster.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\GkeHub\V1beta1\GkeCluster
|
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 |
Google\Cloud\GkeHub\V1beta1\OnPremCluster|null |
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 |
var |
Google\Cloud\GkeHub\V1beta1\OnPremCluster
|
Returns | |
---|---|
Type | Description |
$this |
getMultiCloudCluster
Optional. Specific information for a GKE Multi-Cloud cluster.
Returns | |
---|---|
Type | Description |
Google\Cloud\GkeHub\V1beta1\MultiCloudCluster|null |
hasMultiCloudCluster
setMultiCloudCluster
Optional. Specific information for a GKE Multi-Cloud cluster.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\GkeHub\V1beta1\MultiCloudCluster
|
Returns | |
---|---|
Type | Description |
$this |
getEdgeCluster
Optional. Specific information for a Google Edge cluster.
Returns | |
---|---|
Type | Description |
Google\Cloud\GkeHub\V1beta1\EdgeCluster|null |
hasEdgeCluster
setEdgeCluster
Optional. Specific information for a Google Edge cluster.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\GkeHub\V1beta1\EdgeCluster
|
Returns | |
---|---|
Type | Description |
$this |
getApplianceCluster
Optional. Specific information for a GDC Edge Appliance cluster.
Returns | |
---|---|
Type | Description |
Google\Cloud\GkeHub\V1beta1\ApplianceCluster|null |
hasApplianceCluster
setApplianceCluster
Optional. Specific information for a GDC Edge Appliance cluster.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\GkeHub\V1beta1\ApplianceCluster
|
Returns | |
---|---|
Type | Description |
$this |
getKubernetesMetadata
Output only. Useful Kubernetes-specific metadata.
Returns | |
---|---|
Type | Description |
Google\Cloud\GkeHub\V1beta1\KubernetesMetadata|null |
hasKubernetesMetadata
clearKubernetesMetadata
setKubernetesMetadata
Output only. Useful Kubernetes-specific metadata.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\GkeHub\V1beta1\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\V1beta1\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\V1beta1\KubernetesResource
|
Returns | |
---|---|
Type | Description |
$this |
getType
Returns | |
---|---|
Type | Description |
string |