Skip to content

Commit b690b79

Browse files
feat: Automated regeneration of StorageTransfer client (googleapis#12281)
Auto-created at 2024-10-05 13:13:51 +0000 using the toys pull request generator.
1 parent f85f803 commit b690b79

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

clients/storage_transfer/lib/google_api/storage_transfer/v1/api/transfer_jobs.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ defmodule GoogleApi.StorageTransfer.V1.Api.TransferJobs do
238238
## Parameters
239239
240240
* `connection` (*type:* `GoogleApi.StorageTransfer.V1.Connection.t`) - Connection to server
241-
* `filter` (*type:* `String.t`) - 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.
241+
* `filter` (*type:* `String.t`) - 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` 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`.
242242
* `optional_params` (*type:* `keyword()`) - Optional parameters
243243
* `:"$.xgafv"` (*type:* `String.t`) - V1 error format.
244244
* `:access_token` (*type:* `String.t`) - OAuth access token.

clients/storage_transfer/lib/google_api/storage_transfer/v1/metadata.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ defmodule GoogleApi.StorageTransfer.V1 do
2020
API client metadata for GoogleApi.StorageTransfer.V1.
2121
"""
2222

23-
@discovery_revision "20240622"
23+
@discovery_revision "20240928"
2424

2525
def discovery_revision(), do: @discovery_revision
2626
end

clients/storage_transfer/lib/google_api/storage_transfer/v1/model/replication_spec.ex

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@
1717

1818
defmodule GoogleApi.StorageTransfer.V1.Model.ReplicationSpec do
1919
@moduledoc """
20-
Specifies the configuration for running a replication job.
20+
Specifies the configuration for a cross-bucket replication job. Cross-bucket replication copies new or updated objects from a source Cloud Storage bucket to a destination Cloud Storage bucket. Existing objects in the source bucket are not copied by a new cross-bucket replication job.
2121
2222
## Attributes
2323
24-
* `gcsDataSink` (*type:* `GoogleApi.StorageTransfer.V1.Model.GcsData.t`, *default:* `nil`) - Specifies cloud Storage data sink.
25-
* `gcsDataSource` (*type:* `GoogleApi.StorageTransfer.V1.Model.GcsData.t`, *default:* `nil`) - Specifies cloud Storage data source.
26-
* `objectConditions` (*type:* `GoogleApi.StorageTransfer.V1.Model.ObjectConditions.t`, *default:* `nil`) - Specifies the object conditions to only include objects that satisfy these conditions in the set of data source objects. Object conditions based on objects' "last modification time" do not exclude objects in a data sink.
27-
* `transferOptions` (*type:* `GoogleApi.StorageTransfer.V1.Model.TransferOptions.t`, *default:* `nil`) - Specifies the actions to be performed on the object during replication. Delete options are not supported for replication and when specified, the request fails with an INVALID_ARGUMENT error.
24+
* `gcsDataSink` (*type:* `GoogleApi.StorageTransfer.V1.Model.GcsData.t`, *default:* `nil`) - The Cloud Storage bucket to which to replicate objects.
25+
* `gcsDataSource` (*type:* `GoogleApi.StorageTransfer.V1.Model.GcsData.t`, *default:* `nil`) - The Cloud Storage bucket from which to replicate objects.
26+
* `objectConditions` (*type:* `GoogleApi.StorageTransfer.V1.Model.ObjectConditions.t`, *default:* `nil`) - Object conditions that determine which objects are transferred. For replication jobs, only `include_prefixes` and `exclude_prefixes` are supported.
27+
* `transferOptions` (*type:* `GoogleApi.StorageTransfer.V1.Model.TransferOptions.t`, *default:* `nil`) - Specifies the metadata options to be applied during replication. Delete options are not supported. If a delete option is specified, the request fails with an INVALID_ARGUMENT error.
2828
"""
2929

3030
use GoogleApi.Gax.ModelBase

clients/storage_transfer/mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
defmodule GoogleApi.StorageTransfer.Mixfile do
1919
use Mix.Project
2020

21-
@version "0.37.0"
21+
@version "0.37.1"
2222

2323
def project() do
2424
[

0 commit comments

Comments
 (0)