Class: Google::Apis::GkehubV1alpha2::EdgeCluster
- Inherits:
-
Object
- Object
- Google::Apis::GkehubV1alpha2::EdgeCluster
- 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
EdgeCluster contains information specific to Google Edge Clusters.
Instance Attribute Summary collapse
-
#resource_link ⇒ String
Immutable.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EdgeCluster
constructor
A new instance of EdgeCluster.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EdgeCluster
Returns a new instance of EdgeCluster.
323 324 325 |
# File 'lib/google/apis/gkehub_v1alpha2/classes.rb', line 323 def initialize(**args) update!(**args) end |
Instance Attribute Details
#resource_link ⇒ String
Immutable. Self-link of the Google Cloud resource for the Edge Cluster. For
example: //edgecontainer.googleapis.com/projects/my-project/locations/us-west1-
a/clusters/my-cluster
Corresponds to the JSON property resourceLink
321 322 323 |
# File 'lib/google/apis/gkehub_v1alpha2/classes.rb', line 321 def resource_link @resource_link end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
328 329 330 |
# File 'lib/google/apis/gkehub_v1alpha2/classes.rb', line 328 def update!(**args) @resource_link = args[:resource_link] if args.key?(:resource_link) end |