class Google::Apis::GkehubV1::MembershipEndpoint

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

Attributes

gke_cluster[RW]

GkeCluster contains information specific to GKE clusters. Corresponds to the JSON property `gkeCluster` @return [Google::Apis::GkehubV1::GkeCluster]

kubernetes_metadata[RW]

KubernetesMetadata provides informational metadata for Memberships representing Kubernetes clusters. Corresponds to the JSON property `kubernetesMetadata` @return [Google::Apis::GkehubV1::KubernetesMetadata]

multi_cloud_cluster[RW]

MultiCloudCluster contains information specific to GKE Multi-Cloud clusters. Corresponds to the JSON property `multiCloudCluster` @return [Google::Apis::GkehubV1::MultiCloudCluster]

on_prem_cluster[RW]

OnPremCluster contains information specific to GKE On-Prem clusters. Corresponds to the JSON property `onPremCluster` @return [Google::Apis::GkehubV1::OnPremCluster]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/gkehub_v1/classes.rb, line 1701
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/gkehub_v1/classes.rb, line 1706
def update!(**args)
  @gke_cluster = args[:gke_cluster] if args.key?(:gke_cluster)
  @kubernetes_metadata = args[:kubernetes_metadata] if args.key?(:kubernetes_metadata)
  @multi_cloud_cluster = args[:multi_cloud_cluster] if args.key?(:multi_cloud_cluster)
  @on_prem_cluster = args[:on_prem_cluster] if args.key?(:on_prem_cluster)
end