Class: Google::Apis::StoragetransferV1::ListAgentPoolsResponse
- Inherits:
-
Object
- Object
- Google::Apis::StoragetransferV1::ListAgentPoolsResponse
- 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
-
#agent_pools ⇒ Array<Google::Apis::StoragetransferV1::AgentPool>
A list of agent pools.
-
#next_page_token ⇒ String
The list next page token.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListAgentPoolsResponse
constructor
A new instance of ListAgentPoolsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_pools ⇒ Array<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_token ⇒ String
The list next page token.
Corresponds to the JSON property nextPageToken
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 |