Class: Google::Apis::GkehubV1alpha::ApplianceCluster

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/gkehub_v1alpha/classes.rb,
lib/google/apis/gkehub_v1alpha/representations.rb,
lib/google/apis/gkehub_v1alpha/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.



122
123
124
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 122

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)


120
121
122
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 120

def resource_link
  @resource_link
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



127
128
129
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 127

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