Skip to content

Commit

Permalink
feat: support cross-bucket replication (#7953)
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 707205525
Source-Link: googleapis/googleapis@67495ab
Source-Link: googleapis/googleapis-gen@9c2deac
Copy-Tag: eyJwIjoiU3RvcmFnZVRyYW5zZmVyLy5Pd2xCb3QueWFtbCIsImgiOiI5YzJkZWFjOTQwY2VkMjhkNjhjODI5NmQ0YWViMTMxMzlkOGFjOTE0In0=
  • Loading branch information
gcf-owl-bot[bot] authored Dec 18, 2024
1 parent 8996bbe commit 0890336
Show file tree
Hide file tree
Showing 7 changed files with 412 additions and 73 deletions.
6 changes: 3 additions & 3 deletions StorageTransfer/metadata/V1/Transfer.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified StorageTransfer/metadata/V1/TransferTypes.php
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -33,17 +33,32 @@
* Lists transfer jobs.
*
* @param string $filter A list of query parameters specified as JSON text in the form of:
* `{"projectId":"my_project_id",
*
* ```
* {
* "projectId":"my_project_id",
* "jobNames":["jobid1","jobid2",...],
* "jobStatuses":["status1","status2",...]}`
* "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.
*
* 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][google.storagetransfer.v1.TransferJob.Status.ENABLED],
* [DISABLED][google.storagetransfer.v1.TransferJob.Status.DISABLED], and
* [DELETED][google.storagetransfer.v1.TransferJob.Status.DELETED].
* * `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][google.storagetransfer.v1.TransferJob.Status.ENABLED]
* * [DISABLED][google.storagetransfer.v1.TransferJob.Status.DISABLED]
* * [DELETED][google.storagetransfer.v1.TransferJob.Status.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`.
*/
function list_transfer_jobs_sample(string $filter): void
{
Expand Down
42 changes: 21 additions & 21 deletions StorageTransfer/src/V1/HttpData.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

132 changes: 92 additions & 40 deletions StorageTransfer/src/V1/ListTransferJobsRequest.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 0890336

Please sign in to comment.