Class: Google::Apis::GkehubV1alpha::ApplianceCluster
- Inherits:
-
Object
- Object
- Google::Apis::GkehubV1alpha::ApplianceCluster
- 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
-
#resource_link ⇒ String
Immutable.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ApplianceCluster
constructor
A new instance of ApplianceCluster.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#resource_link ⇒ String
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
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 |