Class: Google::Apis::GkehubV1::ApplianceCluster

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

Overview

ApplianceCluster contains information specific to GDC Edge Appliance Clusters.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ApplianceCluster

Returns a new instance of ApplianceCluster.



68
69
70
# File 'lib/google/apis/gkehub_v1/classes.rb', line 68

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

Instance Attribute Details

Immutable. Self-link of the Google Cloud resource for the Appliance Cluster. For example: //transferappliance.googleapis.com/projects/my-project/locations/ us-west1-a/appliances/my-appliance Corresponds to the JSON property resourceLink

Returns:

  • (String)


66
67
68
# File 'lib/google/apis/gkehub_v1/classes.rb', line 66

def resource_link
  @resource_link
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



73
74
75
# File 'lib/google/apis/gkehub_v1/classes.rb', line 73

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