class Google::Apis::GkehubV1::GkeCluster
GkeCluster
contains information specific to GKE clusters.
Attributes
cluster_missing[RW]
Output only. If cluster_missing
is set then it denotes that the GKE cluster no longer exists in the GKE Control Plane. Corresponds to the JSON property `clusterMissing` @return [Boolean]
cluster_missing?[RW]
Output only. If cluster_missing
is set then it denotes that the GKE cluster no longer exists in the GKE Control Plane. Corresponds to the JSON property `clusterMissing` @return [Boolean]
resource_link[RW]
Immutable. Self-link of the GCP resource for the GKE cluster. For example: // container.googleapis.com/projects/my-project/locations/us-west1-a/clusters/my- cluster Zonal clusters are also supported. Corresponds to the JSON property `resourceLink` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/gkehub_v1/classes.rb, line 1310 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 1315 def update!(**args) @cluster_missing = args[:cluster_missing] if args.key?(:cluster_missing) @resource_link = args[:resource_link] if args.key?(:resource_link) end