Class: Google::Apis::ContainerV1::ListNodePoolsResponse
- Inherits:
-
Object
- Object
- Google::Apis::ContainerV1::ListNodePoolsResponse
- Defined in:
- generated/google/apis/container_v1/classes.rb,
generated/google/apis/container_v1/representations.rb,
generated/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.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ ListNodePoolsResponse
Returns a new instance of ListNodePoolsResponse
1062 1063 1064 |
# File 'generated/google/apis/container_v1/classes.rb', line 1062 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
1060 1061 1062 |
# File 'generated/google/apis/container_v1/classes.rb', line 1060 def node_pools @node_pools end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1067 1068 1069 |
# File 'generated/google/apis/container_v1/classes.rb', line 1067 def update!(**args) @node_pools = args[:node_pools] if args.key?(:node_pools) end |