class Google::Apis::GkehubV1beta1::OnPremCluster

OnPremCluster contains information specific to GKE On-Prem clusters.

Attributes

admin_cluster[RW]

Immutable. Whether the cluster is an admin cluster. Corresponds to the JSON property `adminCluster` @return [Boolean]

admin_cluster?[RW]

Immutable. Whether the cluster is an admin cluster. Corresponds to the JSON property `adminCluster` @return [Boolean]

cluster_missing[RW]

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]

cluster_missing?[RW]

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]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/gkehub_v1beta1/classes.rb, line 933
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_v1beta1/classes.rb, line 938
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