Class: Google::Apis::GkehubV1alpha::MembershipEndpoint
- Inherits:
-
Object
- Object
- Google::Apis::GkehubV1alpha::MembershipEndpoint
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/gkehub_v1alpha/classes.rb,
lib/google/apis/gkehub_v1alpha/representations.rb,
lib/google/apis/gkehub_v1alpha/representations.rb
Overview
MembershipEndpoint contains information needed to contact a Kubernetes API, endpoint and any additional Kubernetes metadata.
Instance Attribute Summary collapse
-
#appliance_cluster ⇒ Google::Apis::GkehubV1alpha::ApplianceCluster
ApplianceCluster contains information specific to GDC Edge Appliance Clusters.
-
#edge_cluster ⇒ Google::Apis::GkehubV1alpha::EdgeCluster
EdgeCluster contains information specific to Google Edge Clusters.
-
#gke_cluster ⇒ Google::Apis::GkehubV1alpha::GkeCluster
GkeCluster contains information specific to GKE clusters.
-
#kubernetes_metadata ⇒ Google::Apis::GkehubV1alpha::KubernetesMetadata
KubernetesMetadata provides informational metadata for Memberships representing Kubernetes clusters.
-
#kubernetes_resource ⇒ Google::Apis::GkehubV1alpha::KubernetesResource
KubernetesResource contains the YAML manifests and configuration for Membership Kubernetes resources in the cluster.
-
#multi_cloud_cluster ⇒ Google::Apis::GkehubV1alpha::MultiCloudCluster
MultiCloudCluster contains information specific to GKE Multi-Cloud clusters.
-
#on_prem_cluster ⇒ Google::Apis::GkehubV1alpha::OnPremCluster
OnPremCluster contains information specific to GKE On-Prem clusters.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MembershipEndpoint
constructor
A new instance of MembershipEndpoint.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MembershipEndpoint
Returns a new instance of MembershipEndpoint.
2737 2738 2739 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 2737 def initialize(**args) update!(**args) end |
Instance Attribute Details
#appliance_cluster ⇒ Google::Apis::GkehubV1alpha::ApplianceCluster
ApplianceCluster contains information specific to GDC Edge Appliance Clusters.
Corresponds to the JSON property applianceCluster
2702 2703 2704 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 2702 def appliance_cluster @appliance_cluster end |
#edge_cluster ⇒ Google::Apis::GkehubV1alpha::EdgeCluster
EdgeCluster contains information specific to Google Edge Clusters.
Corresponds to the JSON property edgeCluster
2707 2708 2709 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 2707 def edge_cluster @edge_cluster end |
#gke_cluster ⇒ Google::Apis::GkehubV1alpha::GkeCluster
GkeCluster contains information specific to GKE clusters.
Corresponds to the JSON property gkeCluster
2712 2713 2714 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 2712 def gke_cluster @gke_cluster end |
#kubernetes_metadata ⇒ Google::Apis::GkehubV1alpha::KubernetesMetadata
KubernetesMetadata provides informational metadata for Memberships
representing Kubernetes clusters.
Corresponds to the JSON property kubernetesMetadata
2718 2719 2720 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 2718 def @kubernetes_metadata end |
#kubernetes_resource ⇒ Google::Apis::GkehubV1alpha::KubernetesResource
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
2725 2726 2727 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 2725 def kubernetes_resource @kubernetes_resource end |
#multi_cloud_cluster ⇒ Google::Apis::GkehubV1alpha::MultiCloudCluster
MultiCloudCluster contains information specific to GKE Multi-Cloud clusters.
Corresponds to the JSON property multiCloudCluster
2730 2731 2732 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 2730 def multi_cloud_cluster @multi_cloud_cluster end |
#on_prem_cluster ⇒ Google::Apis::GkehubV1alpha::OnPremCluster
OnPremCluster contains information specific to GKE On-Prem clusters.
Corresponds to the JSON property onPremCluster
2735 2736 2737 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 2735 def on_prem_cluster @on_prem_cluster end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2742 2743 2744 2745 2746 2747 2748 2749 2750 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 2742 def update!(**args) @appliance_cluster = args[:appliance_cluster] if args.key?(:appliance_cluster) @edge_cluster = args[:edge_cluster] if args.key?(:edge_cluster) @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 |