Class: Google::Apis::ContainerV1::ListClustersResponse
- Inherits:
-
Object
- Object
- Google::Apis::ContainerV1::ListClustersResponse
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/container_v1/classes.rb,
lib/google/apis/container_v1/representations.rb,
lib/google/apis/container_v1/representations.rb
Overview
ListClustersResponse is the result of ListClustersRequest.
Instance Attribute Summary collapse
-
#clusters ⇒ Array<Google::Apis::ContainerV1::Cluster>
A list of clusters in the project in the specified zone, or across all ones.
-
#missing_zones ⇒ Array<String>
If any zones are listed here, the list of clusters returned may be missing those zones.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListClustersResponse
constructor
A new instance of ListClustersResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListClustersResponse
Returns a new instance of ListClustersResponse.
2249 2250 2251 |
# File 'lib/google/apis/container_v1/classes.rb', line 2249 def initialize(**args) update!(**args) end |
Instance Attribute Details
#clusters ⇒ Array<Google::Apis::ContainerV1::Cluster>
A list of clusters in the project in the specified zone, or across all ones.
Corresponds to the JSON property clusters
2241 2242 2243 |
# File 'lib/google/apis/container_v1/classes.rb', line 2241 def clusters @clusters end |
#missing_zones ⇒ Array<String>
If any zones are listed here, the list of clusters returned may be missing
those zones.
Corresponds to the JSON property missingZones
2247 2248 2249 |
# File 'lib/google/apis/container_v1/classes.rb', line 2247 def missing_zones @missing_zones end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2254 2255 2256 2257 |
# File 'lib/google/apis/container_v1/classes.rb', line 2254 def update!(**args) @clusters = args[:clusters] if args.key?(:clusters) @missing_zones = args[:missing_zones] if args.key?(:missing_zones) end |