Class: Google::Apis::ContainerV1::ListNodePoolsResponse

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListNodePoolsResponse

Returns a new instance of ListNodePoolsResponse.



3585
3586
3587
# File 'lib/google/apis/container_v1/classes.rb', line 3585

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

Instance Attribute Details

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

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



3583
3584
3585
# File 'lib/google/apis/container_v1/classes.rb', line 3583

def node_pools
  @node_pools
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3590
3591
3592
# File 'lib/google/apis/container_v1/classes.rb', line 3590

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