Class: Google::Apis::GkehubV1alpha::EdgeCluster

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

EdgeCluster contains information specific to Google Edge Clusters.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EdgeCluster

Returns a new instance of EdgeCluster.



2222
2223
2224
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 2222

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

Instance Attribute Details

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

Returns:

  • (String)


2220
2221
2222
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 2220

def resource_link
  @resource_link
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2227
2228
2229
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 2227

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