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
Namespace
Google \ Cloud \ StorageTransfer \ V1Methods
__construct
Constructor.
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",...], "dataBackend":"QUERY_REPLICATION_CONFIGS", "sourceBucket":"source-bucket-name", "sinkBucket":"sink-bucket-name", }
The JSON formatting in the example is for display only; provide the query parameters without spaces or line breaks. * * projectId
is required. * * Since jobNames
and jobStatuses
support multiple values, their values must be specified with array notation. jobNames
and jobStatuses
are optional. Valid values are case-insensitive: * * ENABLED
* * DISABLED
* * DELETED
* * Specify "dataBackend":"QUERY_REPLICATION_CONFIGS"
to return a list of cross-bucket replication jobs. * * Limit the results to jobs from a particular bucket with sourceBucket
and/or to a particular bucket with sinkBucket
.
↳ 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",...],
"dataBackend":"QUERY_REPLICATION_CONFIGS",
"sourceBucket":"source-bucket-name",
"sinkBucket":"sink-bucket-name",
}
The JSON formatting in the example is for display only; provide the query parameters without spaces or line breaks.
-
projectId
is required. - Since
jobNames
andjobStatuses
support multiple values, their values must be specified with array notation.jobNames
andjobStatuses
are optional. Valid values are case-insensitive: - Specify
"dataBackend":"QUERY_REPLICATION_CONFIGS"
to return a list of cross-bucket replication jobs. - Limit the results to jobs from a particular bucket with
sourceBucket
and/or to a particular bucket withsinkBucket
.
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",...],
"dataBackend":"QUERY_REPLICATION_CONFIGS",
"sourceBucket":"source-bucket-name",
"sinkBucket":"sink-bucket-name",
}
The JSON formatting in the example is for display only; provide the query parameters without spaces or line breaks.
-
projectId
is required. - Since
jobNames
andjobStatuses
support multiple values, their values must be specified with array notation.jobNames
andjobStatuses
are optional. Valid values are case-insensitive: - Specify
"dataBackend":"QUERY_REPLICATION_CONFIGS"
to return a list of cross-bucket replication jobs. - Limit the results to jobs from a particular bucket with
sourceBucket
and/or to a particular bucket withsinkBucket
.
var
string
$this
getPageSize
The list page size. The max allowed value is 256.
int
setPageSize
The list page size. The max allowed value is 256.
var
int
$this
getPageToken
The list page token.
string
setPageToken
The list page token.
var
string
$this