Class: Google::Apis::GkehubV1beta::GkeCluster

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/gkehub_v1beta/classes.rb,
lib/google/apis/gkehub_v1beta/representations.rb,
lib/google/apis/gkehub_v1beta/representations.rb

Overview

GkeCluster contains information specific to GKE clusters.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GkeCluster

Returns a new instance of GkeCluster.



2655
2656
2657
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 2655

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#cluster_missingBoolean Also known as: cluster_missing?

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

Returns:

  • (Boolean)


2645
2646
2647
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 2645

def cluster_missing
  @cluster_missing
end

Immutable. Self-link of the Google Cloud 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

Returns:

  • (String)


2653
2654
2655
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 2653

def resource_link
  @resource_link
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2660
2661
2662
2663
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 2660

def update!(**args)
  @cluster_missing = args[:cluster_missing] if args.key?(:cluster_missing)
  @resource_link = args[:resource_link] if args.key?(:resource_link)
end