Skip to content

Commit

Permalink
feat: add event driven transfer configuration (#6393)
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 543540202
Source-Link: googleapis/googleapis@48e47e8
Source-Link: googleapis/googleapis-gen@66b276e
Copy-Tag: eyJwIjoiU3RvcmFnZVRyYW5zZmVyLy5Pd2xCb3QueWFtbCIsImgiOiI2NmIyNzZlZGEyZjcwMWViMTI4MDU3NTBjMjc1NTE2M2YwYmI4Yzc2In0=
  • Loading branch information
gcf-owl-bot[bot] authored Jun 28, 2023
1 parent 83d1e02 commit 11b622c
Show file tree
Hide file tree
Showing 21 changed files with 832 additions and 234 deletions.
Binary file modified StorageTransfer/metadata/V1/TransferTypes.php
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,10 @@
use Google\Rpc\Status;

/**
* Attempts to start a new TransferOperation for the current TransferJob. A
* TransferJob has a maximum of one active TransferOperation. If this method
* is called while a TransferOperation is active, an error will be returned.
* Starts a new operation for the specified transfer job.
* A `TransferJob` has a maximum of one active `TransferOperation`. If this
* method is called while a `TransferOperation` is active, an error is
* returned.
*
* @param string $jobName The name of the transfer job.
* @param string $projectId The ID of the Google Cloud project that owns the transfer
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
* Updates a transfer job. Updating a job's transfer spec does not affect
* transfer operations that are running already.
*
* **Note:** The job's [status][google.storagetransfer.v1.TransferJob.status] field can be modified
* using this RPC (for example, to set a job's status to
* **Note:** The job's [status][google.storagetransfer.v1.TransferJob.status]
* field can be modified using this RPC (for example, to set a job's status to
* [DELETED][google.storagetransfer.v1.TransferJob.Status.DELETED],
* [DISABLED][google.storagetransfer.v1.TransferJob.Status.DISABLED], or
* [ENABLED][google.storagetransfer.v1.TransferJob.Status.ENABLED]).
Expand Down
126 changes: 110 additions & 16 deletions StorageTransfer/src/V1/AwsS3Data.php

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

102 changes: 98 additions & 4 deletions StorageTransfer/src/V1/AzureBlobStorageData.php

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

Original file line number Diff line number Diff line change
Expand Up @@ -541,9 +541,10 @@ public function resumeTransferOperation(ResumeTransferOperationRequest $request,
}

/**
* Attempts to start a new TransferOperation for the current TransferJob. A
* TransferJob has a maximum of one active TransferOperation. If this method
* is called while a TransferOperation is active, an error will be returned.
* Starts a new operation for the specified transfer job.
* A `TransferJob` has a maximum of one active `TransferOperation`. If this
* method is called while a `TransferOperation` is active, an error is
* returned.
*
* The async variant is {@see self::runTransferJobAsync()} .
*
Expand Down Expand Up @@ -594,8 +595,8 @@ public function updateAgentPool(UpdateAgentPoolRequest $request, array $callOpti
* Updates a transfer job. Updating a job's transfer spec does not affect
* transfer operations that are running already.
*
* **Note:** The job's [status][google.storagetransfer.v1.TransferJob.status] field can be modified
* using this RPC (for example, to set a job's status to
* **Note:** The job's [status][google.storagetransfer.v1.TransferJob.status]
* field can be modified using this RPC (for example, to set a job's status to
* [DELETED][google.storagetransfer.v1.TransferJob.Status.DELETED],
* [DISABLED][google.storagetransfer.v1.TransferJob.Status.DISABLED], or
* [ENABLED][google.storagetransfer.v1.TransferJob.Status.ENABLED]).
Expand Down
Loading

0 comments on commit 11b622c

Please sign in to comment.