Class: Google::Apis::GkehubV1alpha2::MultiCloudCluster
- Inherits:
-
Object
- Object
- Google::Apis::GkehubV1alpha2::MultiCloudCluster
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/gkehub_v1alpha2/classes.rb,
lib/google/apis/gkehub_v1alpha2/representations.rb,
lib/google/apis/gkehub_v1alpha2/representations.rb
Overview
MultiCloudCluster contains information specific to GKE Multi-Cloud clusters.
Instance Attribute Summary collapse
-
#cluster_missing ⇒ Boolean
(also: #cluster_missing?)
Output only.
-
#resource_link ⇒ String
Immutable.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MultiCloudCluster
constructor
A new instance of MultiCloudCluster.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MultiCloudCluster
Returns a new instance of MultiCloudCluster.
1018 1019 1020 |
# File 'lib/google/apis/gkehub_v1alpha2/classes.rb', line 1018 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cluster_missing ⇒ Boolean Also known as: cluster_missing?
Output only. If cluster_missing is set then it denotes that API(gkemulticloud.
googleapis.com) resource for this GKE Multi-Cloud cluster no longer exists.
Corresponds to the JSON property clusterMissing
1006 1007 1008 |
# File 'lib/google/apis/gkehub_v1alpha2/classes.rb', line 1006 def cluster_missing @cluster_missing end |
#resource_link ⇒ String
Immutable. Self-link of the GCP resource for the GKE Multi-Cloud cluster. For
example: //gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-
a/awsClusters/my-cluster //gkemulticloud.googleapis.com/projects/my-project/
locations/us-west1-a/azureClusters/my-cluster //gkemulticloud.googleapis.com/
projects/my-project/locations/us-west1-a/attachedClusters/my-cluster
Corresponds to the JSON property resourceLink
1016 1017 1018 |
# File 'lib/google/apis/gkehub_v1alpha2/classes.rb', line 1016 def resource_link @resource_link end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1023 1024 1025 1026 |
# File 'lib/google/apis/gkehub_v1alpha2/classes.rb', line 1023 def update!(**args) @cluster_missing = args[:cluster_missing] if args.key?(:cluster_missing) @resource_link = args[:resource_link] if args.key?(:resource_link) end |