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

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

projectId, jobNames, and jobStatuses are query parameters that can be specified when listing transfer jobs.

Generated from protobuf message google.storagetransfer.v1.ListTransferJobsRequest

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ filter string

Required. A list of query parameters specified as JSON text in the form of: {"projectId":"my_project_id", "jobNames":["jobid1","jobid2",...], "jobStatuses":["status1","status2",...]} Since jobNames and jobStatuses support multiple values, their values must be specified with array notation. projectId is required. jobNames and jobStatuses are optional. The valid values for jobStatuses are case-insensitive: ENABLED, DISABLED, and DELETED.

↳ page_size int

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

↳ page_token string

The list page token.

getFilter

Required. A list of query parameters specified as JSON text in the form of: {"projectId":"my_project_id", "jobNames":["jobid1","jobid2",...], "jobStatuses":["status1","status2",...]} Since jobNames and jobStatuses support multiple values, their values must be specified with array notation. projectId is required.

jobNames and jobStatuses are optional. The valid values for jobStatuses are case-insensitive: ENABLED, DISABLED, and DELETED.

Returns
TypeDescription
string

setFilter

Required. A list of query parameters specified as JSON text in the form of: {"projectId":"my_project_id", "jobNames":["jobid1","jobid2",...], "jobStatuses":["status1","status2",...]} Since jobNames and jobStatuses support multiple values, their values must be specified with array notation. projectId is required.

jobNames and jobStatuses are optional. The valid values for jobStatuses are case-insensitive: ENABLED, DISABLED, and DELETED.

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