Class: Google::Apis::ContainerV1beta1::ListNodePoolsResponse
- Inherits:
-
Object
- Object
- Google::Apis::ContainerV1beta1::ListNodePoolsResponse
- 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
ListNodePoolsResponse is the result of ListNodePoolsRequest.
Instance Attribute Summary collapse
-
#node_pools ⇒ Array<Google::Apis::ContainerV1beta1::NodePool>
A list of node pools for a cluster.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListNodePoolsResponse
constructor
A new instance of ListNodePoolsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListNodePoolsResponse
Returns a new instance of ListNodePoolsResponse.
5621 5622 5623 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 5621 def initialize(**args) update!(**args) end |
Instance Attribute Details
#node_pools ⇒ Array<Google::Apis::ContainerV1beta1::NodePool>
A list of node pools for a cluster.
Corresponds to the JSON property nodePools
5619 5620 5621 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 5619 def node_pools @node_pools end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5626 5627 5628 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 5626 def update!(**args) @node_pools = args[:node_pools] if args.key?(:node_pools) end |