Google Cloud Storage Transfer V1 Client - Class ListAgentPoolsRequest (1.2.0)

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

The request passed to ListAgentPools.

Generated from protobuf message google.storagetransfer.v1.ListAgentPoolsRequest

Namespace

Google \ Cloud \ StorageTransfer \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ project_id string

Required. The ID of the Google Cloud project that owns the job.

↳ filter string

An optional list of query parameters specified as JSON text in the form of: {"agentPoolNames":["agentpool1","agentpool2",...]} Since agentPoolNames support multiple values, its values must be specified with array notation. When the filter is either empty or not provided, the list returns all agent pools for the project.

↳ page_size int

The list page size. The max allowed value is 256.

↳ page_token string

The list page token.

getProjectId

Required. The ID of the Google Cloud project that owns the job.

Returns
TypeDescription
string

setProjectId

Required. The ID of the Google Cloud project that owns the job.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getFilter

An optional list of query parameters specified as JSON text in the form of: {"agentPoolNames":["agentpool1","agentpool2",...]} Since agentPoolNames support multiple values, its values must be specified with array notation. When the filter is either empty or not provided, the list returns all agent pools for the project.

Returns
TypeDescription
string

setFilter

An optional list of query parameters specified as JSON text in the form of: {"agentPoolNames":["agentpool1","agentpool2",...]} Since agentPoolNames support multiple values, its values must be specified with array notation. When the filter is either empty or not provided, the list returns all agent pools for the project.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPageSize

The list page size. The max allowed value is 256.

Returns
TypeDescription
int

setPageSize

The list page size. The max allowed value is 256.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getPageToken

The list page token.

Returns
TypeDescription
string

setPageToken

The list page token.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
projectId string

Required. The ID of the Google Cloud project that owns the job.

Returns
TypeDescription
Google\Cloud\StorageTransfer\V1\ListAgentPoolsRequest