Class: Google::Apis::GkehubV1alpha2::ApplianceCluster
- Inherits:
-
Object
- Object
- Google::Apis::GkehubV1alpha2::ApplianceCluster
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/gkehub_v1alpha2/classes.rb,
lib/google/apis/gkehub_v1alpha2/representations.rb,
lib/google/apis/gkehub_v1alpha2/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.
36 37 38 |
# File 'lib/google/apis/gkehub_v1alpha2/classes.rb', line 36 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
34 35 36 |
# File 'lib/google/apis/gkehub_v1alpha2/classes.rb', line 34 def resource_link @resource_link end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
41 42 43 |
# File 'lib/google/apis/gkehub_v1alpha2/classes.rb', line 41 def update!(**args) @resource_link = args[:resource_link] if args.key?(:resource_link) end |