Class: Google::Apis::GkehubV1::MembershipEndpoint
- Inherits:
-
Object
- Object
- Google::Apis::GkehubV1::MembershipEndpoint
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/gkehub_v1/classes.rb,
lib/google/apis/gkehub_v1/representations.rb,
lib/google/apis/gkehub_v1/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::GkehubV1::ApplianceCluster
ApplianceCluster contains information specific to GDC Edge Appliance Clusters.
-
#edge_cluster ⇒ Google::Apis::GkehubV1::EdgeCluster
EdgeCluster contains information specific to Google Edge Clusters.
-
#gke_cluster ⇒ Google::Apis::GkehubV1::GkeCluster
GkeCluster contains information specific to GKE clusters.
-
#google_managed ⇒ Boolean
(also: #google_managed?)
Output only.
-
#kubernetes_metadata ⇒ Google::Apis::GkehubV1::KubernetesMetadata
KubernetesMetadata provides informational metadata for Memberships representing Kubernetes clusters.
-
#kubernetes_resource ⇒ Google::Apis::GkehubV1::KubernetesResource
KubernetesResource contains the YAML manifests and configuration for Membership Kubernetes resources in the cluster.
-
#multi_cloud_cluster ⇒ Google::Apis::GkehubV1::MultiCloudCluster
MultiCloudCluster contains information specific to GKE Multi-Cloud clusters.
-
#on_prem_cluster ⇒ Google::Apis::GkehubV1::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.
3555 3556 3557 |
# File 'lib/google/apis/gkehub_v1/classes.rb', line 3555 def initialize(**args) update!(**args) end |
Instance Attribute Details
#appliance_cluster ⇒ Google::Apis::GkehubV1::ApplianceCluster
ApplianceCluster contains information specific to GDC Edge Appliance Clusters.
Corresponds to the JSON property applianceCluster
3513 3514 3515 |
# File 'lib/google/apis/gkehub_v1/classes.rb', line 3513 def appliance_cluster @appliance_cluster end |
#edge_cluster ⇒ Google::Apis::GkehubV1::EdgeCluster
EdgeCluster contains information specific to Google Edge Clusters.
Corresponds to the JSON property edgeCluster
3518 3519 3520 |
# File 'lib/google/apis/gkehub_v1/classes.rb', line 3518 def edge_cluster @edge_cluster end |
#gke_cluster ⇒ Google::Apis::GkehubV1::GkeCluster
GkeCluster contains information specific to GKE clusters.
Corresponds to the JSON property gkeCluster
3523 3524 3525 |
# File 'lib/google/apis/gkehub_v1/classes.rb', line 3523 def gke_cluster @gke_cluster end |
#google_managed ⇒ Boolean Also known as: google_managed?
Output only. Whether the lifecycle of this membership is managed by a google
cluster platform service.
Corresponds to the JSON property googleManaged
3529 3530 3531 |
# File 'lib/google/apis/gkehub_v1/classes.rb', line 3529 def google_managed @google_managed end |
#kubernetes_metadata ⇒ Google::Apis::GkehubV1::KubernetesMetadata
KubernetesMetadata provides informational metadata for Memberships
representing Kubernetes clusters.
Corresponds to the JSON property kubernetesMetadata
3536 3537 3538 |
# File 'lib/google/apis/gkehub_v1/classes.rb', line 3536 def @kubernetes_metadata end |
#kubernetes_resource ⇒ Google::Apis::GkehubV1::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
3543 3544 3545 |
# File 'lib/google/apis/gkehub_v1/classes.rb', line 3543 def kubernetes_resource @kubernetes_resource end |
#multi_cloud_cluster ⇒ Google::Apis::GkehubV1::MultiCloudCluster
MultiCloudCluster contains information specific to GKE Multi-Cloud clusters.
Corresponds to the JSON property multiCloudCluster
3548 3549 3550 |
# File 'lib/google/apis/gkehub_v1/classes.rb', line 3548 def multi_cloud_cluster @multi_cloud_cluster end |
#on_prem_cluster ⇒ Google::Apis::GkehubV1::OnPremCluster
OnPremCluster contains information specific to GKE On-Prem clusters.
Corresponds to the JSON property onPremCluster
3553 3554 3555 |
# File 'lib/google/apis/gkehub_v1/classes.rb', line 3553 def on_prem_cluster @on_prem_cluster end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 |
# File 'lib/google/apis/gkehub_v1/classes.rb', line 3560 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) @google_managed = args[:google_managed] if args.key?(:google_managed) @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 |