class Google::Apis::GkehubV1::OnPremCluster
OnPremCluster
contains information specific to GKE On-Prem clusters.
Attributes
Immutable. Whether the cluster is an admin cluster. Corresponds to the JSON property `adminCluster` @return [Boolean]
Immutable. Whether the cluster is an admin cluster. Corresponds to the JSON property `adminCluster` @return [Boolean]
Output only. If cluster_missing
is set then it denotes that API(gkeonprem. googleapis.com) resource for this GKE On-Prem cluster no longer exists. Corresponds to the JSON property `clusterMissing` @return [Boolean]
Output only. If cluster_missing
is set then it denotes that API(gkeonprem. googleapis.com) resource for this GKE On-Prem cluster no longer exists. Corresponds to the JSON property `clusterMissing` @return [Boolean]
Immutable. Self-link of the GCP resource for the GKE On-Prem cluster. For example: //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/ vmwareClusters/my-cluster //gkeonprem.googleapis.com/projects/my-project/ locations/us-west1-a/bareMetalClusters/my-cluster Corresponds to the JSON property `resourceLink` @return [String]
Public Class Methods
# File lib/google/apis/gkehub_v1/classes.rb, line 1858 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/gkehub_v1/classes.rb, line 1863 def update!(**args) @admin_cluster = args[:admin_cluster] if args.key?(:admin_cluster) @cluster_missing = args[:cluster_missing] if args.key?(:cluster_missing) @resource_link = args[:resource_link] if args.key?(:resource_link) end