Class: Google::Apis::ContainerV1beta1::ListNodePoolsResponse

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/container_v1beta1/classes.rb,
generated/google/apis/container_v1beta1/representations.rb,
generated/google/apis/container_v1beta1/representations.rb

Overview

ListNodePoolsResponse is the result of ListNodePoolsRequest.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ListNodePoolsResponse

Returns a new instance of ListNodePoolsResponse.



2065
2066
2067
# File 'generated/google/apis/container_v1beta1/classes.rb', line 2065

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#node_poolsArray<Google::Apis::ContainerV1beta1::NodePool>

A list of node pools for a cluster. Corresponds to the JSON property nodePools



2063
2064
2065
# File 'generated/google/apis/container_v1beta1/classes.rb', line 2063

def node_pools
  @node_pools
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2070
2071
2072
# File 'generated/google/apis/container_v1beta1/classes.rb', line 2070

def update!(**args)
  @node_pools = args[:node_pools] if args.key?(:node_pools)
end