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

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListNodePoolsResponse

Returns a new instance of ListNodePoolsResponse.



3530
3531
3532
# File 'lib/google/apis/container_v1beta1/classes.rb', line 3530

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



3528
3529
3530
# File 'lib/google/apis/container_v1beta1/classes.rb', line 3528

def node_pools
  @node_pools
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3535
3536
3537
# File 'lib/google/apis/container_v1beta1/classes.rb', line 3535

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