Class: Google::Apis::ContainerV1::ListNodePoolsResponse
- Inherits:
-
Object
- Object
- Google::Apis::ContainerV1::ListNodePoolsResponse
- 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
ListNodePoolsResponse is the result of ListNodePoolsRequest.
Instance Attribute Summary collapse
-
#node_pools ⇒ Array<Google::Apis::ContainerV1::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.
3393 3394 3395 |
# File 'lib/google/apis/container_v1/classes.rb', line 3393 def initialize(**args) update!(**args) end |
Instance Attribute Details
#node_pools ⇒ Array<Google::Apis::ContainerV1::NodePool>
A list of node pools for a cluster.
Corresponds to the JSON property nodePools
3391 3392 3393 |
# File 'lib/google/apis/container_v1/classes.rb', line 3391 def node_pools @node_pools end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3398 3399 3400 |
# File 'lib/google/apis/container_v1/classes.rb', line 3398 def update!(**args) @node_pools = args[:node_pools] if args.key?(:node_pools) end |