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

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

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
Google\Protobuf\Internal\RepeatedField

setAgentPools

A list of agent pools.

Parameter
NameDescription
var array<Google\Cloud\StorageTransfer\V1\AgentPool>
Returns
TypeDescription
$this

getNextPageToken

The list next page token.

Returns
TypeDescription
string

setNextPageToken

The list next page token.

Parameter
NameDescription
var string
Returns
TypeDescription
$this