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.
Parameters | |
---|---|
Name | Description |
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: |
↳ 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
.
Returns | |
---|---|
Type | Description |
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
.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getPageSize
The list page size. The max allowed value is 256.
Returns | |
---|---|
Type | Description |
int |
setPageSize
The list page size. The max allowed value is 256.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getPageToken
The list page token.
Returns | |
---|---|
Type | Description |
string |
setPageToken
The list page token.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |