Class: Google::Apis::StoragetransferV1::ListAgentPoolsResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/storagetransfer_v1/classes.rb,
lib/google/apis/storagetransfer_v1/representations.rb,
lib/google/apis/storagetransfer_v1/representations.rb

Overview

Response from ListAgentPools.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListAgentPoolsResponse

Returns a new instance of ListAgentPoolsResponse.



633
634
635
# File 'lib/google/apis/storagetransfer_v1/classes.rb', line 633

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

Instance Attribute Details

#agent_poolsArray<Google::Apis::StoragetransferV1::AgentPool>

A list of agent pools. Corresponds to the JSON property agentPools



626
627
628
# File 'lib/google/apis/storagetransfer_v1/classes.rb', line 626

def agent_pools
  @agent_pools
end

#next_page_tokenString

The list next page token. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


631
632
633
# File 'lib/google/apis/storagetransfer_v1/classes.rb', line 631

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



638
639
640
641
# File 'lib/google/apis/storagetransfer_v1/classes.rb', line 638

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