Class: Google::Apis::ContainerV1beta1::ListClustersResponse

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable
Defined in:
generated/google/apis/container_v1beta1/classes.rb,
generated/google/apis/container_v1beta1/representations.rb,
generated/google/apis/container_v1beta1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ListClustersResponse

Returns a new instance of ListClustersResponse.


248
249
250
# File 'generated/google/apis/container_v1beta1/classes.rb', line 248

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

Instance Attribute Details

#clustersArray<Google::Apis::ContainerV1beta1::Cluster>

A list of clusters in the project in the specified zone. Corresponds to the JSON property clusters


246
247
248
# File 'generated/google/apis/container_v1beta1/classes.rb', line 246

def clusters
  @clusters
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


253
254
255
# File 'generated/google/apis/container_v1beta1/classes.rb', line 253

def update!(**args)
  @clusters = args[:clusters] unless args[:clusters].nil?
end