Google Cloud Storage Transfer V1 Client - Class ListAgentPoolsResponse (1.4.3)

Reference documentation and code samples for the Google Cloud Storage Transfer V1 Client class ListAgentPoolsResponse.

Response from ListAgentPools.

Generated from protobuf message google.storagetransfer.v1.ListAgentPoolsResponse

Namespace

Google \ Cloud \ StorageTransfer \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ agent_pools array<Google\Cloud\StorageTransfer\V1\AgentPool>

A list of agent pools.

↳ next_page_token string

The list next page token.

getAgentPools

A list of agent pools.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setAgentPools

A list of agent pools.

Parameter
Name Description
var array<Google\Cloud\StorageTransfer\V1\AgentPool>
Returns
Type Description
$this

getNextPageToken

The list next page token.

Returns
Type Description
string

setNextPageToken

The list next page token.

Parameter
Name Description
var string
Returns
Type Description
$this