# GKE Hub V1beta1 API - Class Google::Cloud::GkeHub::V1beta1::MembershipEndpoint (v0.21.0)

0.21.0 (latest) 0.20.1 0.19.0 0.18.1 0.17.0 0.16.0 0.15.0 0.14.1 0.13.0 0.12.0 0.11.1 0.10.2 0.9.0 0.8.0 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.2 Reference documentation and code samples for the GKE Hub V1beta1 API class Google::Cloud::GkeHub::V1beta1::MembershipEndpoint.

MembershipEndpoint contains information needed to contact a Kubernetes API,
endpoint and any additional Kubernetes metadata.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #appliance_cluster

    def appliance_cluster() -> ::Google::Cloud::GkeHub::V1beta1::ApplianceCluster

**Returns**

- ([::Google::Cloud::GkeHub::V1beta1::ApplianceCluster](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_hub-v1beta1/latest/Google-Cloud-GkeHub-V1beta1-ApplianceCluster)) --- Optional. Specific information for a GDC Edge Appliance cluster.


  Note: The following fields are mutually exclusive: `appliance_cluster`, `gke_cluster`, `on_prem_cluster`, `multi_cloud_cluster`, `edge_cluster`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #appliance_cluster=

    def appliance_cluster=(value) -> ::Google::Cloud::GkeHub::V1beta1::ApplianceCluster

**Parameter**

- **value** ([::Google::Cloud::GkeHub::V1beta1::ApplianceCluster](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_hub-v1beta1/latest/Google-Cloud-GkeHub-V1beta1-ApplianceCluster)) --- Optional. Specific information for a GDC Edge Appliance cluster.


  Note: The following fields are mutually exclusive: `appliance_cluster`, `gke_cluster`, `on_prem_cluster`, `multi_cloud_cluster`, `edge_cluster`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::GkeHub::V1beta1::ApplianceCluster](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_hub-v1beta1/latest/Google-Cloud-GkeHub-V1beta1-ApplianceCluster)) --- Optional. Specific information for a GDC Edge Appliance cluster.


  Note: The following fields are mutually exclusive: `appliance_cluster`, `gke_cluster`, `on_prem_cluster`, `multi_cloud_cluster`, `edge_cluster`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #edge_cluster

    def edge_cluster() -> ::Google::Cloud::GkeHub::V1beta1::EdgeCluster

**Returns**

- ([::Google::Cloud::GkeHub::V1beta1::EdgeCluster](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_hub-v1beta1/latest/Google-Cloud-GkeHub-V1beta1-EdgeCluster)) --- Optional. Specific information for a Google Edge cluster.


  Note: The following fields are mutually exclusive: `edge_cluster`, `gke_cluster`, `on_prem_cluster`, `multi_cloud_cluster`, `appliance_cluster`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #edge_cluster=

    def edge_cluster=(value) -> ::Google::Cloud::GkeHub::V1beta1::EdgeCluster

**Parameter**

- **value** ([::Google::Cloud::GkeHub::V1beta1::EdgeCluster](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_hub-v1beta1/latest/Google-Cloud-GkeHub-V1beta1-EdgeCluster)) --- Optional. Specific information for a Google Edge cluster.


  Note: The following fields are mutually exclusive: `edge_cluster`, `gke_cluster`, `on_prem_cluster`, `multi_cloud_cluster`, `appliance_cluster`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::GkeHub::V1beta1::EdgeCluster](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_hub-v1beta1/latest/Google-Cloud-GkeHub-V1beta1-EdgeCluster)) --- Optional. Specific information for a Google Edge cluster.


  Note: The following fields are mutually exclusive: `edge_cluster`, `gke_cluster`, `on_prem_cluster`, `multi_cloud_cluster`, `appliance_cluster`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #gke_cluster

    def gke_cluster() -> ::Google::Cloud::GkeHub::V1beta1::GkeCluster

**Returns**

- ([::Google::Cloud::GkeHub::V1beta1::GkeCluster](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_hub-v1beta1/latest/Google-Cloud-GkeHub-V1beta1-GkeCluster)) --- Optional. Specific information for a GKE-on-GCP cluster.


  Note: The following fields are mutually exclusive: `gke_cluster`, `on_prem_cluster`, `multi_cloud_cluster`, `edge_cluster`, `appliance_cluster`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #gke_cluster=

    def gke_cluster=(value) -> ::Google::Cloud::GkeHub::V1beta1::GkeCluster

**Parameter**

- **value** ([::Google::Cloud::GkeHub::V1beta1::GkeCluster](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_hub-v1beta1/latest/Google-Cloud-GkeHub-V1beta1-GkeCluster)) --- Optional. Specific information for a GKE-on-GCP cluster.


  Note: The following fields are mutually exclusive: `gke_cluster`, `on_prem_cluster`, `multi_cloud_cluster`, `edge_cluster`, `appliance_cluster`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::GkeHub::V1beta1::GkeCluster](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_hub-v1beta1/latest/Google-Cloud-GkeHub-V1beta1-GkeCluster)) --- Optional. Specific information for a GKE-on-GCP cluster.


  Note: The following fields are mutually exclusive: `gke_cluster`, `on_prem_cluster`, `multi_cloud_cluster`, `edge_cluster`, `appliance_cluster`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #kubernetes_metadata

    def kubernetes_metadata() -> ::Google::Cloud::GkeHub::V1beta1::KubernetesMetadata

**Returns**

- ([::Google::Cloud::GkeHub::V1beta1::KubernetesMetadata](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_hub-v1beta1/latest/Google-Cloud-GkeHub-V1beta1-KubernetesMetadata)) --- Output only. Useful Kubernetes-specific metadata.

### #kubernetes_resource

    def kubernetes_resource() -> ::Google::Cloud::GkeHub::V1beta1::KubernetesResource

**Returns**

- ([::Google::Cloud::GkeHub::V1beta1::KubernetesResource](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_hub-v1beta1/latest/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.

### #kubernetes_resource=

    def kubernetes_resource=(value) -> ::Google::Cloud::GkeHub::V1beta1::KubernetesResource

**Parameter**

- **value** ([::Google::Cloud::GkeHub::V1beta1::KubernetesResource](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_hub-v1beta1/latest/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.
**Returns**

- ([::Google::Cloud::GkeHub::V1beta1::KubernetesResource](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_hub-v1beta1/latest/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.

### #multi_cloud_cluster

    def multi_cloud_cluster() -> ::Google::Cloud::GkeHub::V1beta1::MultiCloudCluster

**Returns**

- ([::Google::Cloud::GkeHub::V1beta1::MultiCloudCluster](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_hub-v1beta1/latest/Google-Cloud-GkeHub-V1beta1-MultiCloudCluster)) --- Optional. Specific information for a GKE Multi-Cloud cluster.


  Note: The following fields are mutually exclusive: `multi_cloud_cluster`, `gke_cluster`, `on_prem_cluster`, `edge_cluster`, `appliance_cluster`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #multi_cloud_cluster=

    def multi_cloud_cluster=(value) -> ::Google::Cloud::GkeHub::V1beta1::MultiCloudCluster

**Parameter**

- **value** ([::Google::Cloud::GkeHub::V1beta1::MultiCloudCluster](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_hub-v1beta1/latest/Google-Cloud-GkeHub-V1beta1-MultiCloudCluster)) --- Optional. Specific information for a GKE Multi-Cloud cluster.


  Note: The following fields are mutually exclusive: `multi_cloud_cluster`, `gke_cluster`, `on_prem_cluster`, `edge_cluster`, `appliance_cluster`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::GkeHub::V1beta1::MultiCloudCluster](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_hub-v1beta1/latest/Google-Cloud-GkeHub-V1beta1-MultiCloudCluster)) --- Optional. Specific information for a GKE Multi-Cloud cluster.


  Note: The following fields are mutually exclusive: `multi_cloud_cluster`, `gke_cluster`, `on_prem_cluster`, `edge_cluster`, `appliance_cluster`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #on_prem_cluster

    def on_prem_cluster() -> ::Google::Cloud::GkeHub::V1beta1::OnPremCluster

**Returns**

- ([::Google::Cloud::GkeHub::V1beta1::OnPremCluster](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_hub-v1beta1/latest/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.


  Note: The following fields are mutually exclusive: `on_prem_cluster`, `gke_cluster`, `multi_cloud_cluster`, `edge_cluster`, `appliance_cluster`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #on_prem_cluster=

    def on_prem_cluster=(value) -> ::Google::Cloud::GkeHub::V1beta1::OnPremCluster

**Parameter**

- **value** ([::Google::Cloud::GkeHub::V1beta1::OnPremCluster](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_hub-v1beta1/latest/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.


  Note: The following fields are mutually exclusive: `on_prem_cluster`, `gke_cluster`, `multi_cloud_cluster`, `edge_cluster`, `appliance_cluster`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::GkeHub::V1beta1::OnPremCluster](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_hub-v1beta1/latest/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.


  Note: The following fields are mutually exclusive: `on_prem_cluster`, `gke_cluster`, `multi_cloud_cluster`, `edge_cluster`, `appliance_cluster`. If a field in that set is populated, all other fields in the set will automatically be cleared.