diff --git a/src/Storagetransfer/Resource/TransferJobs.php b/src/Storagetransfer/Resource/TransferJobs.php index 32c1762543..233817ceba 100644 --- a/src/Storagetransfer/Resource/TransferJobs.php +++ b/src/Storagetransfer/Resource/TransferJobs.php @@ -85,12 +85,18 @@ public function get($jobName, $projectId, $optParams = []) * Lists transfer jobs. (transferJobs.listTransferJobs) * * @param string $filter 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. + * 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`. * @param array $optParams Optional parameters. * * @opt_param int pageSize The list page size. The max allowed value is 256.