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

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

Overview

ListClustersResponse is the result of ListClustersRequest.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListClustersResponse

Returns a new instance of ListClustersResponse.



2590
2591
2592
# File 'lib/google/apis/container_v1beta1/classes.rb', line 2590

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, or across all ones. Corresponds to the JSON property clusters



2582
2583
2584
# File 'lib/google/apis/container_v1beta1/classes.rb', line 2582

def clusters
  @clusters
end

#missing_zonesArray<String>

If any zones are listed here, the list of clusters returned may be missing those zones. Corresponds to the JSON property missingZones

Returns:

  • (Array<String>)


2588
2589
2590
# File 'lib/google/apis/container_v1beta1/classes.rb', line 2588

def missing_zones
  @missing_zones
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2595
2596
2597
2598
# File 'lib/google/apis/container_v1beta1/classes.rb', line 2595

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