Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: [StorageTransfer] support cross-bucket replication #7953

Merged
merged 2 commits into from
Dec 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading