class Google::Apis::GkehubV1beta1::MembershipEndpoint
MembershipEndpoint
contains information needed to contact a Kubernetes API, endpoint and any additional Kubernetes metadata.
Attributes
GkeCluster
contains information specific to GKE clusters. Corresponds to the JSON property `gkeCluster` @return [Google::Apis::GkehubV1beta1::GkeCluster]
KubernetesMetadata
provides informational metadata for Memberships representing Kubernetes clusters. Corresponds to the JSON property `kubernetesMetadata` @return [Google::Apis::GkehubV1beta1::KubernetesMetadata]
KubernetesResource
contains the YAML manifests and configuration for Membership
Kubernetes resources in the cluster. After CreateMembership or UpdateMembership, these resources should be re-applied in the cluster. Corresponds to the JSON property `kubernetesResource` @return [Google::Apis::GkehubV1beta1::KubernetesResource]
MultiCloudCluster
contains information specific to GKE Multi-Cloud clusters. Corresponds to the JSON property `multiCloudCluster` @return [Google::Apis::GkehubV1beta1::MultiCloudCluster]
OnPremCluster
contains information specific to GKE On-Prem clusters. Corresponds to the JSON property `onPremCluster` @return [Google::Apis::GkehubV1beta1::OnPremCluster]
Public Class Methods
# File lib/google/apis/gkehub_v1beta1/classes.rb, line 833 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/gkehub_v1beta1/classes.rb, line 838 def update!(**args) @gke_cluster = args[:gke_cluster] if args.key?(:gke_cluster) @kubernetes_metadata = args[:kubernetes_metadata] if args.key?(:kubernetes_metadata) @kubernetes_resource = args[:kubernetes_resource] if args.key?(:kubernetes_resource) @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