Class: Google::Apis::ContainerV1beta1::ListClustersResponse
- Inherits:
-
Object
- Object
- Google::Apis::ContainerV1beta1::ListClustersResponse
- Defined in:
- generated/google/apis/container_v1beta1/classes.rb,
generated/google/apis/container_v1beta1/representations.rb,
generated/google/apis/container_v1beta1/representations.rb
Overview
ListClustersResponse is the result of ListClustersRequest.
Instance Attribute Summary collapse
-
#clusters ⇒ Array<Google::Apis::ContainerV1beta1::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.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ ListClustersResponse
Returns a new instance of ListClustersResponse
1086 1087 1088 |
# File 'generated/google/apis/container_v1beta1/classes.rb', line 1086 def initialize(**args) update!(**args) end |
Instance Attribute Details
#clusters ⇒ Array<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
1078 1079 1080 |
# File 'generated/google/apis/container_v1beta1/classes.rb', line 1078 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
1084 1085 1086 |
# File 'generated/google/apis/container_v1beta1/classes.rb', line 1084 def missing_zones @missing_zones end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1091 1092 1093 1094 |
# File 'generated/google/apis/container_v1beta1/classes.rb', line 1091 def update!(**args) @clusters = args[:clusters] if args.key?(:clusters) @missing_zones = args[:missing_zones] if args.key?(:missing_zones) end |