google-cloud-storage_transfer-v1 0.6.1 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/google/cloud/storage_transfer/v1/storage_transfer_service/client.rb +20 -16
- data/lib/google/cloud/storage_transfer/v1/storage_transfer_service/rest/client.rb +20 -16
- data/lib/google/cloud/storage_transfer/v1/version.rb +1 -1
- data/lib/google/storagetransfer/v1/transfer_services_pb.rb +6 -5
- data/lib/google/storagetransfer/v1/transfer_types_pb.rb +2 -1
- data/proto_docs/google/storagetransfer/v1/transfer.rb +14 -11
- data/proto_docs/google/storagetransfer/v1/transfer_types.rb +164 -49
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: af7725237df5c5ef0673811dd3ebf384df3adfca2735c77dcbba090bff65fd3e
|
4
|
+
data.tar.gz: d6a6622e66087d34beccd36f184b0928beea1b562c8170ed753c261c1140aedb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3d9e6935bbe7dc97b515e9e5682f4df28842537dd1746960fcc038fc649701b1546d81c04f30987a3f4ba7da715fa803ba3705091b4de2845dc37197bfff8d04
|
7
|
+
data.tar.gz: 4f75bfc6e724e52509a4f6906cb0dce607ba8126c934de8989c2f4ce0568cb4e98e9e9ed15da458b8698c778f1ae6837e1f62a6920072c6a5e8ce975077d5953
|
@@ -340,8 +340,8 @@ module Google
|
|
340
340
|
# Updates a transfer job. Updating a job's transfer spec does not affect
|
341
341
|
# transfer operations that are running already.
|
342
342
|
#
|
343
|
-
# **Note:** The job's {::Google::Cloud::StorageTransfer::V1::TransferJob#status status}
|
344
|
-
# using this RPC (for example, to set a job's status to
|
343
|
+
# **Note:** The job's {::Google::Cloud::StorageTransfer::V1::TransferJob#status status}
|
344
|
+
# field can be modified using this RPC (for example, to set a job's status to
|
345
345
|
# {::Google::Cloud::StorageTransfer::V1::TransferJob::Status::DELETED DELETED},
|
346
346
|
# {::Google::Cloud::StorageTransfer::V1::TransferJob::Status::DISABLED DISABLED}, or
|
347
347
|
# {::Google::Cloud::StorageTransfer::V1::TransferJob::Status::ENABLED ENABLED}).
|
@@ -367,15 +367,17 @@ module Google
|
|
367
367
|
# Required. The ID of the Google Cloud project that owns the
|
368
368
|
# job.
|
369
369
|
# @param transfer_job [::Google::Cloud::StorageTransfer::V1::TransferJob, ::Hash]
|
370
|
-
# Required. The job to update. `transferJob` is expected to specify one or
|
371
|
-
# five fields:
|
370
|
+
# Required. The job to update. `transferJob` is expected to specify one or
|
371
|
+
# more of five fields:
|
372
|
+
# {::Google::Cloud::StorageTransfer::V1::TransferJob#description description},
|
372
373
|
# {::Google::Cloud::StorageTransfer::V1::TransferJob#transfer_spec transfer_spec},
|
373
374
|
# {::Google::Cloud::StorageTransfer::V1::TransferJob#notification_config notification_config},
|
374
375
|
# {::Google::Cloud::StorageTransfer::V1::TransferJob#logging_config logging_config}, and
|
375
|
-
# {::Google::Cloud::StorageTransfer::V1::TransferJob#status status}. An
|
376
|
-
# other fields are rejected with
|
377
|
-
# {::Google::Rpc::Code::INVALID_ARGUMENT INVALID_ARGUMENT}. Updating a
|
378
|
-
#
|
376
|
+
# {::Google::Cloud::StorageTransfer::V1::TransferJob#status status}. An
|
377
|
+
# `UpdateTransferJobRequest` that specifies other fields are rejected with
|
378
|
+
# the error {::Google::Rpc::Code::INVALID_ARGUMENT INVALID_ARGUMENT}. Updating a
|
379
|
+
# job status to
|
380
|
+
# {::Google::Cloud::StorageTransfer::V1::TransferJob::Status::DELETED DELETED} requires
|
379
381
|
# `storagetransfer.jobs.delete` permission.
|
380
382
|
# @param update_transfer_job_field_mask [::Google::Protobuf::FieldMask, ::Hash]
|
381
383
|
# The field mask of the fields in `transferJob` that are to be updated in
|
@@ -384,9 +386,10 @@ module Google
|
|
384
386
|
# {::Google::Cloud::StorageTransfer::V1::TransferJob#transfer_spec transfer_spec},
|
385
387
|
# {::Google::Cloud::StorageTransfer::V1::TransferJob#notification_config notification_config},
|
386
388
|
# {::Google::Cloud::StorageTransfer::V1::TransferJob#logging_config logging_config}, and
|
387
|
-
# {::Google::Cloud::StorageTransfer::V1::TransferJob#status status}. To update the
|
388
|
-
# complete transfer specification must be
|
389
|
-
# specification missing any required fields is
|
389
|
+
# {::Google::Cloud::StorageTransfer::V1::TransferJob#status status}. To update the
|
390
|
+
# `transfer_spec` of the job, a complete transfer specification must be
|
391
|
+
# provided. An incomplete specification missing any required fields is
|
392
|
+
# rejected with the error
|
390
393
|
# {::Google::Rpc::Code::INVALID_ARGUMENT INVALID_ARGUMENT}.
|
391
394
|
#
|
392
395
|
# @yield [response, operation] Access the result along with the RPC operation
|
@@ -809,9 +812,10 @@ module Google
|
|
809
812
|
end
|
810
813
|
|
811
814
|
##
|
812
|
-
#
|
813
|
-
# TransferJob has a maximum of one active TransferOperation
|
814
|
-
# is called while a TransferOperation is active, an error
|
815
|
+
# Starts a new operation for the specified transfer job.
|
816
|
+
# A `TransferJob` has a maximum of one active `TransferOperation`. If this
|
817
|
+
# method is called while a `TransferOperation` is active, an error is
|
818
|
+
# returned.
|
815
819
|
#
|
816
820
|
# @overload run_transfer_job(request, options = nil)
|
817
821
|
# Pass arguments to `run_transfer_job` via a request object, either of type
|
@@ -1116,8 +1120,8 @@ module Google
|
|
1116
1120
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
1117
1121
|
#
|
1118
1122
|
# @param agent_pool [::Google::Cloud::StorageTransfer::V1::AgentPool, ::Hash]
|
1119
|
-
# Required. The agent pool to update. `agent_pool` is expected to specify
|
1120
|
-
# fields:
|
1123
|
+
# Required. The agent pool to update. `agent_pool` is expected to specify
|
1124
|
+
# following fields:
|
1121
1125
|
#
|
1122
1126
|
# * {::Google::Cloud::StorageTransfer::V1::AgentPool#name name}
|
1123
1127
|
#
|
@@ -293,8 +293,8 @@ module Google
|
|
293
293
|
# Updates a transfer job. Updating a job's transfer spec does not affect
|
294
294
|
# transfer operations that are running already.
|
295
295
|
#
|
296
|
-
# **Note:** The job's {::Google::Cloud::StorageTransfer::V1::TransferJob#status status}
|
297
|
-
# using this RPC (for example, to set a job's status to
|
296
|
+
# **Note:** The job's {::Google::Cloud::StorageTransfer::V1::TransferJob#status status}
|
297
|
+
# field can be modified using this RPC (for example, to set a job's status to
|
298
298
|
# {::Google::Cloud::StorageTransfer::V1::TransferJob::Status::DELETED DELETED},
|
299
299
|
# {::Google::Cloud::StorageTransfer::V1::TransferJob::Status::DISABLED DISABLED}, or
|
300
300
|
# {::Google::Cloud::StorageTransfer::V1::TransferJob::Status::ENABLED ENABLED}).
|
@@ -320,15 +320,17 @@ module Google
|
|
320
320
|
# Required. The ID of the Google Cloud project that owns the
|
321
321
|
# job.
|
322
322
|
# @param transfer_job [::Google::Cloud::StorageTransfer::V1::TransferJob, ::Hash]
|
323
|
-
# Required. The job to update. `transferJob` is expected to specify one or
|
324
|
-
# five fields:
|
323
|
+
# Required. The job to update. `transferJob` is expected to specify one or
|
324
|
+
# more of five fields:
|
325
|
+
# {::Google::Cloud::StorageTransfer::V1::TransferJob#description description},
|
325
326
|
# {::Google::Cloud::StorageTransfer::V1::TransferJob#transfer_spec transfer_spec},
|
326
327
|
# {::Google::Cloud::StorageTransfer::V1::TransferJob#notification_config notification_config},
|
327
328
|
# {::Google::Cloud::StorageTransfer::V1::TransferJob#logging_config logging_config}, and
|
328
|
-
# {::Google::Cloud::StorageTransfer::V1::TransferJob#status status}. An
|
329
|
-
# other fields are rejected with
|
330
|
-
# {::Google::Rpc::Code::INVALID_ARGUMENT INVALID_ARGUMENT}. Updating a
|
331
|
-
#
|
329
|
+
# {::Google::Cloud::StorageTransfer::V1::TransferJob#status status}. An
|
330
|
+
# `UpdateTransferJobRequest` that specifies other fields are rejected with
|
331
|
+
# the error {::Google::Rpc::Code::INVALID_ARGUMENT INVALID_ARGUMENT}. Updating a
|
332
|
+
# job status to
|
333
|
+
# {::Google::Cloud::StorageTransfer::V1::TransferJob::Status::DELETED DELETED} requires
|
332
334
|
# `storagetransfer.jobs.delete` permission.
|
333
335
|
# @param update_transfer_job_field_mask [::Google::Protobuf::FieldMask, ::Hash]
|
334
336
|
# The field mask of the fields in `transferJob` that are to be updated in
|
@@ -337,9 +339,10 @@ module Google
|
|
337
339
|
# {::Google::Cloud::StorageTransfer::V1::TransferJob#transfer_spec transfer_spec},
|
338
340
|
# {::Google::Cloud::StorageTransfer::V1::TransferJob#notification_config notification_config},
|
339
341
|
# {::Google::Cloud::StorageTransfer::V1::TransferJob#logging_config logging_config}, and
|
340
|
-
# {::Google::Cloud::StorageTransfer::V1::TransferJob#status status}. To update the
|
341
|
-
# complete transfer specification must be
|
342
|
-
# specification missing any required fields is
|
342
|
+
# {::Google::Cloud::StorageTransfer::V1::TransferJob#status status}. To update the
|
343
|
+
# `transfer_spec` of the job, a complete transfer specification must be
|
344
|
+
# provided. An incomplete specification missing any required fields is
|
345
|
+
# rejected with the error
|
343
346
|
# {::Google::Rpc::Code::INVALID_ARGUMENT INVALID_ARGUMENT}.
|
344
347
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
345
348
|
# @yieldparam result [::Google::Cloud::StorageTransfer::V1::TransferJob]
|
@@ -651,9 +654,10 @@ module Google
|
|
651
654
|
end
|
652
655
|
|
653
656
|
##
|
654
|
-
#
|
655
|
-
# TransferJob has a maximum of one active TransferOperation
|
656
|
-
# is called while a TransferOperation is active, an error
|
657
|
+
# Starts a new operation for the specified transfer job.
|
658
|
+
# A `TransferJob` has a maximum of one active `TransferOperation`. If this
|
659
|
+
# method is called while a `TransferOperation` is active, an error is
|
660
|
+
# returned.
|
657
661
|
#
|
658
662
|
# @overload run_transfer_job(request, options = nil)
|
659
663
|
# Pass arguments to `run_transfer_job` via a request object, either of type
|
@@ -882,8 +886,8 @@ module Google
|
|
882
886
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
883
887
|
#
|
884
888
|
# @param agent_pool [::Google::Cloud::StorageTransfer::V1::AgentPool, ::Hash]
|
885
|
-
# Required. The agent pool to update. `agent_pool` is expected to specify
|
886
|
-
# fields:
|
889
|
+
# Required. The agent pool to update. `agent_pool` is expected to specify
|
890
|
+
# following fields:
|
887
891
|
#
|
888
892
|
# * {::Google::Cloud::StorageTransfer::V1::AgentPool#name name}
|
889
893
|
#
|
@@ -49,8 +49,8 @@ module Google
|
|
49
49
|
# Updates a transfer job. Updating a job's transfer spec does not affect
|
50
50
|
# transfer operations that are running already.
|
51
51
|
#
|
52
|
-
# **Note:** The job's [status][google.storagetransfer.v1.TransferJob.status]
|
53
|
-
# using this RPC (for example, to set a job's status to
|
52
|
+
# **Note:** The job's [status][google.storagetransfer.v1.TransferJob.status]
|
53
|
+
# field can be modified using this RPC (for example, to set a job's status to
|
54
54
|
# [DELETED][google.storagetransfer.v1.TransferJob.Status.DELETED],
|
55
55
|
# [DISABLED][google.storagetransfer.v1.TransferJob.Status.DISABLED], or
|
56
56
|
# [ENABLED][google.storagetransfer.v1.TransferJob.Status.ENABLED]).
|
@@ -63,9 +63,10 @@ module Google
|
|
63
63
|
rpc :PauseTransferOperation, ::Google::Cloud::StorageTransfer::V1::PauseTransferOperationRequest, ::Google::Protobuf::Empty
|
64
64
|
# Resumes a transfer operation that is paused.
|
65
65
|
rpc :ResumeTransferOperation, ::Google::Cloud::StorageTransfer::V1::ResumeTransferOperationRequest, ::Google::Protobuf::Empty
|
66
|
-
#
|
67
|
-
# TransferJob has a maximum of one active TransferOperation
|
68
|
-
# is called while a TransferOperation is active, an error
|
66
|
+
# Starts a new operation for the specified transfer job.
|
67
|
+
# A `TransferJob` has a maximum of one active `TransferOperation`. If this
|
68
|
+
# method is called while a `TransferOperation` is active, an error is
|
69
|
+
# returned.
|
69
70
|
rpc :RunTransferJob, ::Google::Cloud::StorageTransfer::V1::RunTransferJobRequest, ::Google::Longrunning::Operation
|
70
71
|
# Deletes a transfer job. Deleting a transfer job sets its status to
|
71
72
|
# [DELETED][google.storagetransfer.v1.TransferJob.Status.DELETED].
|
@@ -13,7 +13,7 @@ require 'google/type/date_pb'
|
|
13
13
|
require 'google/type/timeofday_pb'
|
14
14
|
|
15
15
|
|
16
|
-
descriptor_data = "\n.google/storagetransfer/v1/transfer_types.proto\x12\x19google.storagetransfer.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x15google/rpc/code.proto\x1a\x16google/type/date.proto\x1a\x1bgoogle/type/timeofday.proto\"A\n\x14GoogleServiceAccount\x12\x15\n\raccount_email\x18\x01 \x01(\t\x12\x12\n\nsubject_id\x18\x02 \x01(\t\"J\n\x0c\x41wsAccessKey\x12\x1a\n\raccess_key_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x1e\n\x11secret_access_key\x18\x02 \x01(\tB\x03\xe0\x41\x02\"*\n\x10\x41zureCredentials\x12\x16\n\tsas_token\x18\x02 \x01(\tB\x03\xe0\x41\x02\"\xd3\x02\n\x10ObjectConditions\x12K\n(min_time_elapsed_since_last_modification\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12K\n(max_time_elapsed_since_last_modification\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x18\n\x10include_prefixes\x18\x03 \x03(\t\x12\x18\n\x10\x65xclude_prefixes\x18\x04 \x03(\t\x12\x37\n\x13last_modified_since\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x38\n\x14last_modified_before\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"1\n\x07GcsData\x12\x18\n\x0b\x62ucket_name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x0c\n\x04path\x18\x03 \x01(\t\"\x8b\x01\n\tAwsS3Data\x12\x18\n\x0b\x62ucket_name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x44\n\x0e\x61ws_access_key\x18\x02 \x01(\x0b\x32\'.google.storagetransfer.v1.AwsAccessKeyB\x03\xe0\x41\x04\x12\x0c\n\x04path\x18\x03 \x01(\t\x12\x10\n\x08role_arn\x18\x04 \x01(\t\"\xaa\x01\n\x14\x41zureBlobStorageData\x12\x1c\n\x0fstorage_account\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12N\n\x11\x61zure_credentials\x18\x02 \x01(\x0b\x32+.google.storagetransfer.v1.AzureCredentialsB\x06\xe0\x41\x02\xe0\x41\x04\x12\x16\n\tcontainer\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12\x0c\n\x04path\x18\x05 \x01(\t\"!\n\x08HttpData\x12\x15\n\x08list_url\x18\x01 \x01(\tB\x03\xe0\x41\x02\")\n\x0fPosixFilesystem\x12\x16\n\x0eroot_directory\x18\x01 \x01(\t\"\xbd\x01\n\x13\x41wsS3CompatibleData\x12\x18\n\x0b\x62ucket_name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x15\n\x08\x65ndpoint\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x0e\n\x06region\x18\x05 \x01(\t\x12\x46\n\x0bs3_metadata\x18\x04 \x01(\x0b\x32/.google.storagetransfer.v1.S3CompatibleMetadataH\x00\x42\x0f\n\rdata_provider\"\xf6\x05\n\x14S3CompatibleMetadata\x12O\n\x0b\x61uth_method\x18\x01 \x01(\x0e\x32:.google.storagetransfer.v1.S3CompatibleMetadata.AuthMethod\x12S\n\rrequest_model\x18\x02 \x01(\x0e\x32<.google.storagetransfer.v1.S3CompatibleMetadata.RequestModel\x12Q\n\x08protocol\x18\x03 \x01(\x0e\x32?.google.storagetransfer.v1.S3CompatibleMetadata.NetworkProtocol\x12I\n\x08list_api\x18\x04 \x01(\x0e\x32\x37.google.storagetransfer.v1.S3CompatibleMetadata.ListApi\"m\n\nAuthMethod\x12\x1b\n\x17\x41UTH_METHOD_UNSPECIFIED\x10\x00\x12 \n\x1c\x41UTH_METHOD_AWS_SIGNATURE_V4\x10\x01\x12 \n\x1c\x41UTH_METHOD_AWS_SIGNATURE_V2\x10\x02\"s\n\x0cRequestModel\x12\x1d\n\x19REQUEST_MODEL_UNSPECIFIED\x10\x00\x12&\n\"REQUEST_MODEL_VIRTUAL_HOSTED_STYLE\x10\x01\x12\x1c\n\x18REQUEST_MODEL_PATH_STYLE\x10\x02\"j\n\x0fNetworkProtocol\x12 \n\x1cNETWORK_PROTOCOL_UNSPECIFIED\x10\x00\x12\x1a\n\x16NETWORK_PROTOCOL_HTTPS\x10\x01\x12\x19\n\x15NETWORK_PROTOCOL_HTTP\x10\x02\"J\n\x07ListApi\x12\x18\n\x14LIST_API_UNSPECIFIED\x10\x00\x12\x13\n\x0fLIST_OBJECTS_V2\x10\x01\x12\x10\n\x0cLIST_OBJECTS\x10\x02\"\x93\x03\n\tAgentPool\x12\x11\n\x04name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x14\n\x0c\x64isplay_name\x18\x03 \x01(\t\x12>\n\x05state\x18\x04 \x01(\x0e\x32*.google.storagetransfer.v1.AgentPool.StateB\x03\xe0\x41\x03\x12L\n\x0f\x62\x61ndwidth_limit\x18\x05 \x01(\x0b\x32\x33.google.storagetransfer.v1.AgentPool.BandwidthLimit\x1a$\n\x0e\x42\x61ndwidthLimit\x12\x12\n\nlimit_mbps\x18\x01 \x01(\x03\"G\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\x0b\n\x07\x43REATED\x10\x02\x12\x0c\n\x08\x44\x45LETING\x10\x03:`\xea\x41]\n)storagetransfer.googleapis.com/agentPools\x12\x30projects/{project_id}/agentPools/{agent_pool_id}\"\x8e\x03\n\x0fTransferOptions\x12\x32\n*overwrite_objects_already_existing_in_sink\x18\x01 \x01(\x08\x12%\n\x1d\x64\x65lete_objects_unique_in_sink\x18\x02 \x01(\x08\x12\x31\n)delete_objects_from_source_after_transfer\x18\x03 \x01(\x08\x12P\n\x0eoverwrite_when\x18\x04 \x01(\x0e\x32\x38.google.storagetransfer.v1.TransferOptions.OverwriteWhen\x12\x44\n\x10metadata_options\x18\x05 \x01(\x0b\x32*.google.storagetransfer.v1.MetadataOptions\"U\n\rOverwriteWhen\x12\x1e\n\x1aOVERWRITE_WHEN_UNSPECIFIED\x10\x00\x12\r\n\tDIFFERENT\x10\x01\x12\t\n\x05NEVER\x10\x02\x12\n\n\x06\x41LWAYS\x10\x03\"\xef\x07\n\x0cTransferSpec\x12;\n\rgcs_data_sink\x18\x04 \x01(\x0b\x32\".google.storagetransfer.v1.GcsDataH\x00\x12\x45\n\x0fposix_data_sink\x18\r \x01(\x0b\x32*.google.storagetransfer.v1.PosixFilesystemH\x00\x12=\n\x0fgcs_data_source\x18\x01 \x01(\x0b\x32\".google.storagetransfer.v1.GcsDataH\x01\x12\x42\n\x12\x61ws_s3_data_source\x18\x02 \x01(\x0b\x32$.google.storagetransfer.v1.AwsS3DataH\x01\x12?\n\x10http_data_source\x18\x03 \x01(\x0b\x32#.google.storagetransfer.v1.HttpDataH\x01\x12G\n\x11posix_data_source\x18\x0e \x01(\x0b\x32*.google.storagetransfer.v1.PosixFilesystemH\x01\x12Y\n\x1e\x61zure_blob_storage_data_source\x18\x08 \x01(\x0b\x32/.google.storagetransfer.v1.AzureBlobStorageDataH\x01\x12W\n\x1d\x61ws_s3_compatible_data_source\x18\x13 \x01(\x0b\x32..google.storagetransfer.v1.AwsS3CompatibleDataH\x01\x12L\n\x1egcs_intermediate_data_location\x18\x10 \x01(\x0b\x32\".google.storagetransfer.v1.GcsDataH\x02\x12\x46\n\x11object_conditions\x18\x05 \x01(\x0b\x32+.google.storagetransfer.v1.ObjectConditions\x12\x44\n\x10transfer_options\x18\x06 \x01(\x0b\x32*.google.storagetransfer.v1.TransferOptions\x12\x46\n\x11transfer_manifest\x18\x0f \x01(\x0b\x32+.google.storagetransfer.v1.TransferManifest\x12\x1e\n\x16source_agent_pool_name\x18\x11 \x01(\t\x12\x1c\n\x14sink_agent_pool_name\x18\x12 \x01(\tB\x0b\n\tdata_sinkB\r\n\x0b\x64\x61ta_sourceB\x1c\n\x1aintermediate_data_location\"\xf1\x0b\n\x0fMetadataOptions\x12\x43\n\x07symlink\x18\x01 \x01(\x0e\x32\x32.google.storagetransfer.v1.MetadataOptions.Symlink\x12=\n\x04mode\x18\x02 \x01(\x0e\x32/.google.storagetransfer.v1.MetadataOptions.Mode\x12;\n\x03gid\x18\x03 \x01(\x0e\x32..google.storagetransfer.v1.MetadataOptions.GID\x12;\n\x03uid\x18\x04 \x01(\x0e\x32..google.storagetransfer.v1.MetadataOptions.UID\x12;\n\x03\x61\x63l\x18\x05 \x01(\x0e\x32..google.storagetransfer.v1.MetadataOptions.Acl\x12N\n\rstorage_class\x18\x06 \x01(\x0e\x32\x37.google.storagetransfer.v1.MetadataOptions.StorageClass\x12P\n\x0etemporary_hold\x18\x07 \x01(\x0e\x32\x38.google.storagetransfer.v1.MetadataOptions.TemporaryHold\x12\x42\n\x07kms_key\x18\x08 \x01(\x0e\x32\x31.google.storagetransfer.v1.MetadataOptions.KmsKey\x12L\n\x0ctime_created\x18\t \x01(\x0e\x32\x36.google.storagetransfer.v1.MetadataOptions.TimeCreated\"J\n\x07Symlink\x12\x17\n\x13SYMLINK_UNSPECIFIED\x10\x00\x12\x10\n\x0cSYMLINK_SKIP\x10\x01\x12\x14\n\x10SYMLINK_PRESERVE\x10\x02\">\n\x04Mode\x12\x14\n\x10MODE_UNSPECIFIED\x10\x00\x12\r\n\tMODE_SKIP\x10\x01\x12\x11\n\rMODE_PRESERVE\x10\x02\"8\n\x03GID\x12\x13\n\x0fGID_UNSPECIFIED\x10\x00\x12\x0c\n\x08GID_SKIP\x10\x01\x12\x0e\n\nGID_NUMBER\x10\x02\"8\n\x03UID\x12\x13\n\x0fUID_UNSPECIFIED\x10\x00\x12\x0c\n\x08UID_SKIP\x10\x01\x12\x0e\n\nUID_NUMBER\x10\x02\"P\n\x03\x41\x63l\x12\x13\n\x0f\x41\x43L_UNSPECIFIED\x10\x00\x12\"\n\x1e\x41\x43L_DESTINATION_BUCKET_DEFAULT\x10\x01\x12\x10\n\x0c\x41\x43L_PRESERVE\x10\x02\"\xe6\x01\n\x0cStorageClass\x12\x1d\n\x19STORAGE_CLASS_UNSPECIFIED\x10\x00\x12,\n(STORAGE_CLASS_DESTINATION_BUCKET_DEFAULT\x10\x01\x12\x1a\n\x16STORAGE_CLASS_PRESERVE\x10\x02\x12\x1a\n\x16STORAGE_CLASS_STANDARD\x10\x03\x12\x1a\n\x16STORAGE_CLASS_NEARLINE\x10\x04\x12\x1a\n\x16STORAGE_CLASS_COLDLINE\x10\x05\x12\x19\n\x15STORAGE_CLASS_ARCHIVE\x10\x06\"e\n\rTemporaryHold\x12\x1e\n\x1aTEMPORARY_HOLD_UNSPECIFIED\x10\x00\x12\x17\n\x13TEMPORARY_HOLD_SKIP\x10\x01\x12\x1b\n\x17TEMPORARY_HOLD_PRESERVE\x10\x02\"_\n\x06KmsKey\x12\x17\n\x13KMS_KEY_UNSPECIFIED\x10\x00\x12&\n\"KMS_KEY_DESTINATION_BUCKET_DEFAULT\x10\x01\x12\x14\n\x10KMS_KEY_PRESERVE\x10\x02\"l\n\x0bTimeCreated\x12\x1c\n\x18TIME_CREATED_UNSPECIFIED\x10\x00\x12\x15\n\x11TIME_CREATED_SKIP\x10\x01\x12(\n$TIME_CREATED_PRESERVE_AS_CUSTOM_TIME\x10\x02\"$\n\x10TransferManifest\x12\x10\n\x08location\x18\x01 \x01(\t\"\x85\x02\n\x08Schedule\x12\x33\n\x13schedule_start_date\x18\x01 \x01(\x0b\x32\x11.google.type.DateB\x03\xe0\x41\x02\x12,\n\x11schedule_end_date\x18\x02 \x01(\x0b\x32\x11.google.type.Date\x12\x31\n\x11start_time_of_day\x18\x03 \x01(\x0b\x32\x16.google.type.TimeOfDay\x12/\n\x0f\x65nd_time_of_day\x18\x04 \x01(\x0b\x32\x16.google.type.TimeOfDay\x12\x32\n\x0frepeat_interval\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\"\xa2\x05\n\x0bTransferJob\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x12\n\nproject_id\x18\x03 \x01(\t\x12>\n\rtransfer_spec\x18\x04 \x01(\x0b\x32\'.google.storagetransfer.v1.TransferSpec\x12J\n\x13notification_config\x18\x0b \x01(\x0b\x32-.google.storagetransfer.v1.NotificationConfig\x12@\n\x0elogging_config\x18\x0e \x01(\x0b\x32(.google.storagetransfer.v1.LoggingConfig\x12\x35\n\x08schedule\x18\x05 \x01(\x0b\x32#.google.storagetransfer.v1.Schedule\x12=\n\x06status\x18\x06 \x01(\x0e\x32-.google.storagetransfer.v1.TransferJob.Status\x12\x36\n\rcreation_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12?\n\x16last_modification_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x36\n\rdeletion_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x1d\n\x15latest_operation_name\x18\x0c \x01(\t\"H\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x45NABLED\x10\x01\x12\x0c\n\x08\x44ISABLED\x10\x02\x12\x0b\n\x07\x44\x45LETED\x10\x03\"8\n\rErrorLogEntry\x12\x10\n\x03url\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\rerror_details\x18\x03 \x03(\t\"\x98\x01\n\x0c\x45rrorSummary\x12)\n\nerror_code\x18\x01 \x01(\x0e\x32\x10.google.rpc.CodeB\x03\xe0\x41\x02\x12\x18\n\x0b\x65rror_count\x18\x02 \x01(\x03\x42\x03\xe0\x41\x02\x12\x43\n\x11\x65rror_log_entries\x18\x03 \x03(\x0b\x32(.google.storagetransfer.v1.ErrorLogEntry\"\xc3\x06\n\x10TransferCounters\x12!\n\x19objects_found_from_source\x18\x01 \x01(\x03\x12\x1f\n\x17\x62ytes_found_from_source\x18\x02 \x01(\x03\x12$\n\x1cobjects_found_only_from_sink\x18\x03 \x01(\x03\x12\"\n\x1a\x62ytes_found_only_from_sink\x18\x04 \x01(\x03\x12+\n#objects_from_source_skipped_by_sync\x18\x05 \x01(\x03\x12)\n!bytes_from_source_skipped_by_sync\x18\x06 \x01(\x03\x12\x1e\n\x16objects_copied_to_sink\x18\x07 \x01(\x03\x12\x1c\n\x14\x62ytes_copied_to_sink\x18\x08 \x01(\x03\x12#\n\x1bobjects_deleted_from_source\x18\t \x01(\x03\x12!\n\x19\x62ytes_deleted_from_source\x18\n \x01(\x03\x12!\n\x19objects_deleted_from_sink\x18\x0b \x01(\x03\x12\x1f\n\x17\x62ytes_deleted_from_sink\x18\x0c \x01(\x03\x12\"\n\x1aobjects_from_source_failed\x18\r \x01(\x03\x12 \n\x18\x62ytes_from_source_failed\x18\x0e \x01(\x03\x12*\n\"objects_failed_to_delete_from_sink\x18\x0f \x01(\x03\x12(\n bytes_failed_to_delete_from_sink\x18\x10 \x01(\x03\x12%\n\x1d\x64irectories_found_from_source\x18\x11 \x01(\x03\x12.\n&directories_failed_to_list_from_source\x18\x12 \x01(\x03\x12\x33\n+directories_successfully_listed_from_source\x18\x13 \x01(\x03\x12\'\n\x1fintermediate_objects_cleaned_up\x18\x16 \x01(\x03\x12.\n&intermediate_objects_failed_cleaned_up\x18\x17 \x01(\x03\"\xa5\x03\n\x12NotificationConfig\x12\x19\n\x0cpubsub_topic\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12L\n\x0b\x65vent_types\x18\x02 \x03(\x0e\x32\x37.google.storagetransfer.v1.NotificationConfig.EventType\x12X\n\x0epayload_format\x18\x03 \x01(\x0e\x32;.google.storagetransfer.v1.NotificationConfig.PayloadFormatB\x03\xe0\x41\x02\"\x86\x01\n\tEventType\x12\x1a\n\x16\x45VENT_TYPE_UNSPECIFIED\x10\x00\x12\x1e\n\x1aTRANSFER_OPERATION_SUCCESS\x10\x01\x12\x1d\n\x19TRANSFER_OPERATION_FAILED\x10\x02\x12\x1e\n\x1aTRANSFER_OPERATION_ABORTED\x10\x03\"C\n\rPayloadFormat\x12\x1e\n\x1aPAYLOAD_FORMAT_UNSPECIFIED\x10\x00\x12\x08\n\x04NONE\x10\x01\x12\x08\n\x04JSON\x10\x02\"\x8b\x03\n\rLoggingConfig\x12L\n\x0blog_actions\x18\x01 \x03(\x0e\x32\x37.google.storagetransfer.v1.LoggingConfig.LoggableAction\x12W\n\x11log_action_states\x18\x02 \x03(\x0e\x32<.google.storagetransfer.v1.LoggingConfig.LoggableActionState\x12\'\n\x1f\x65nable_onprem_gcs_transfer_logs\x18\x03 \x01(\x08\"Q\n\x0eLoggableAction\x12\x1f\n\x1bLOGGABLE_ACTION_UNSPECIFIED\x10\x00\x12\x08\n\x04\x46IND\x10\x01\x12\n\n\x06\x44\x45LETE\x10\x02\x12\x08\n\x04\x43OPY\x10\x03\"W\n\x13LoggableActionState\x12%\n!LOGGABLE_ACTION_STATE_UNSPECIFIED\x10\x00\x12\r\n\tSUCCEEDED\x10\x01\x12\n\n\x06\x46\x41ILED\x10\x02\"\xf2\x04\n\x11TransferOperation\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x12\n\nproject_id\x18\x02 \x01(\t\x12>\n\rtransfer_spec\x18\x03 \x01(\x0b\x32\'.google.storagetransfer.v1.TransferSpec\x12J\n\x13notification_config\x18\n \x01(\x0b\x32-.google.storagetransfer.v1.NotificationConfig\x12.\n\nstart_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x43\n\x06status\x18\x06 \x01(\x0e\x32\x33.google.storagetransfer.v1.TransferOperation.Status\x12=\n\x08\x63ounters\x18\x07 \x01(\x0b\x32+.google.storagetransfer.v1.TransferCounters\x12\x41\n\x10\x65rror_breakdowns\x18\x08 \x03(\x0b\x32\'.google.storagetransfer.v1.ErrorSummary\x12\x19\n\x11transfer_job_name\x18\t \x01(\t\"o\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x0f\n\x0bIN_PROGRESS\x10\x01\x12\n\n\x06PAUSED\x10\x02\x12\x0b\n\x07SUCCESS\x10\x03\x12\n\n\x06\x46\x41ILED\x10\x04\x12\x0b\n\x07\x41\x42ORTED\x10\x05\x12\n\n\x06QUEUED\x10\x06\x42\xef\x01\n#com.google.storagetransfer.v1.protoB\rTransferTypesZMcloud.google.com/go/storagetransfer/apiv1/storagetransferpb;storagetransferpb\xf8\x01\x01\xaa\x02\x1fGoogle.Cloud.StorageTransfer.V1\xca\x02\x1fGoogle\\Cloud\\StorageTransfer\\V1\xea\x02\"Google::Cloud::StorageTransfer::V1b\x06proto3"
|
16
|
+
descriptor_data = "\n.google/storagetransfer/v1/transfer_types.proto\x12\x19google.storagetransfer.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x15google/rpc/code.proto\x1a\x16google/type/date.proto\x1a\x1bgoogle/type/timeofday.proto\"A\n\x14GoogleServiceAccount\x12\x15\n\raccount_email\x18\x01 \x01(\t\x12\x12\n\nsubject_id\x18\x02 \x01(\t\"J\n\x0c\x41wsAccessKey\x12\x1a\n\raccess_key_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x1e\n\x11secret_access_key\x18\x02 \x01(\tB\x03\xe0\x41\x02\"*\n\x10\x41zureCredentials\x12\x16\n\tsas_token\x18\x02 \x01(\tB\x03\xe0\x41\x02\"\xd3\x02\n\x10ObjectConditions\x12K\n(min_time_elapsed_since_last_modification\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12K\n(max_time_elapsed_since_last_modification\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x18\n\x10include_prefixes\x18\x03 \x03(\t\x12\x18\n\x10\x65xclude_prefixes\x18\x04 \x03(\t\x12\x37\n\x13last_modified_since\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x38\n\x14last_modified_before\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"1\n\x07GcsData\x12\x18\n\x0b\x62ucket_name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x0c\n\x04path\x18\x03 \x01(\t\"\xac\x01\n\tAwsS3Data\x12\x18\n\x0b\x62ucket_name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x44\n\x0e\x61ws_access_key\x18\x02 \x01(\x0b\x32\'.google.storagetransfer.v1.AwsAccessKeyB\x03\xe0\x41\x04\x12\x0c\n\x04path\x18\x03 \x01(\t\x12\x10\n\x08role_arn\x18\x04 \x01(\t\x12\x1f\n\x12\x63redentials_secret\x18\x07 \x01(\tB\x03\xe0\x41\x01\"\xcb\x01\n\x14\x41zureBlobStorageData\x12\x1c\n\x0fstorage_account\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12N\n\x11\x61zure_credentials\x18\x02 \x01(\x0b\x32+.google.storagetransfer.v1.AzureCredentialsB\x06\xe0\x41\x02\xe0\x41\x04\x12\x16\n\tcontainer\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12\x0c\n\x04path\x18\x05 \x01(\t\x12\x1f\n\x12\x63redentials_secret\x18\x07 \x01(\tB\x03\xe0\x41\x01\"!\n\x08HttpData\x12\x15\n\x08list_url\x18\x01 \x01(\tB\x03\xe0\x41\x02\")\n\x0fPosixFilesystem\x12\x16\n\x0eroot_directory\x18\x01 \x01(\t\"\xbd\x01\n\x13\x41wsS3CompatibleData\x12\x18\n\x0b\x62ucket_name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x15\n\x08\x65ndpoint\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x0e\n\x06region\x18\x05 \x01(\t\x12\x46\n\x0bs3_metadata\x18\x04 \x01(\x0b\x32/.google.storagetransfer.v1.S3CompatibleMetadataH\x00\x42\x0f\n\rdata_provider\"\xf6\x05\n\x14S3CompatibleMetadata\x12O\n\x0b\x61uth_method\x18\x01 \x01(\x0e\x32:.google.storagetransfer.v1.S3CompatibleMetadata.AuthMethod\x12S\n\rrequest_model\x18\x02 \x01(\x0e\x32<.google.storagetransfer.v1.S3CompatibleMetadata.RequestModel\x12Q\n\x08protocol\x18\x03 \x01(\x0e\x32?.google.storagetransfer.v1.S3CompatibleMetadata.NetworkProtocol\x12I\n\x08list_api\x18\x04 \x01(\x0e\x32\x37.google.storagetransfer.v1.S3CompatibleMetadata.ListApi\"m\n\nAuthMethod\x12\x1b\n\x17\x41UTH_METHOD_UNSPECIFIED\x10\x00\x12 \n\x1c\x41UTH_METHOD_AWS_SIGNATURE_V4\x10\x01\x12 \n\x1c\x41UTH_METHOD_AWS_SIGNATURE_V2\x10\x02\"s\n\x0cRequestModel\x12\x1d\n\x19REQUEST_MODEL_UNSPECIFIED\x10\x00\x12&\n\"REQUEST_MODEL_VIRTUAL_HOSTED_STYLE\x10\x01\x12\x1c\n\x18REQUEST_MODEL_PATH_STYLE\x10\x02\"j\n\x0fNetworkProtocol\x12 \n\x1cNETWORK_PROTOCOL_UNSPECIFIED\x10\x00\x12\x1a\n\x16NETWORK_PROTOCOL_HTTPS\x10\x01\x12\x19\n\x15NETWORK_PROTOCOL_HTTP\x10\x02\"J\n\x07ListApi\x12\x18\n\x14LIST_API_UNSPECIFIED\x10\x00\x12\x13\n\x0fLIST_OBJECTS_V2\x10\x01\x12\x10\n\x0cLIST_OBJECTS\x10\x02\"\x93\x03\n\tAgentPool\x12\x11\n\x04name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x14\n\x0c\x64isplay_name\x18\x03 \x01(\t\x12>\n\x05state\x18\x04 \x01(\x0e\x32*.google.storagetransfer.v1.AgentPool.StateB\x03\xe0\x41\x03\x12L\n\x0f\x62\x61ndwidth_limit\x18\x05 \x01(\x0b\x32\x33.google.storagetransfer.v1.AgentPool.BandwidthLimit\x1a$\n\x0e\x42\x61ndwidthLimit\x12\x12\n\nlimit_mbps\x18\x01 \x01(\x03\"G\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\x0b\n\x07\x43REATED\x10\x02\x12\x0c\n\x08\x44\x45LETING\x10\x03:`\xea\x41]\n)storagetransfer.googleapis.com/agentPools\x12\x30projects/{project_id}/agentPools/{agent_pool_id}\"\x8e\x03\n\x0fTransferOptions\x12\x32\n*overwrite_objects_already_existing_in_sink\x18\x01 \x01(\x08\x12%\n\x1d\x64\x65lete_objects_unique_in_sink\x18\x02 \x01(\x08\x12\x31\n)delete_objects_from_source_after_transfer\x18\x03 \x01(\x08\x12P\n\x0eoverwrite_when\x18\x04 \x01(\x0e\x32\x38.google.storagetransfer.v1.TransferOptions.OverwriteWhen\x12\x44\n\x10metadata_options\x18\x05 \x01(\x0b\x32*.google.storagetransfer.v1.MetadataOptions\"U\n\rOverwriteWhen\x12\x1e\n\x1aOVERWRITE_WHEN_UNSPECIFIED\x10\x00\x12\r\n\tDIFFERENT\x10\x01\x12\t\n\x05NEVER\x10\x02\x12\n\n\x06\x41LWAYS\x10\x03\"\xef\x07\n\x0cTransferSpec\x12;\n\rgcs_data_sink\x18\x04 \x01(\x0b\x32\".google.storagetransfer.v1.GcsDataH\x00\x12\x45\n\x0fposix_data_sink\x18\r \x01(\x0b\x32*.google.storagetransfer.v1.PosixFilesystemH\x00\x12=\n\x0fgcs_data_source\x18\x01 \x01(\x0b\x32\".google.storagetransfer.v1.GcsDataH\x01\x12\x42\n\x12\x61ws_s3_data_source\x18\x02 \x01(\x0b\x32$.google.storagetransfer.v1.AwsS3DataH\x01\x12?\n\x10http_data_source\x18\x03 \x01(\x0b\x32#.google.storagetransfer.v1.HttpDataH\x01\x12G\n\x11posix_data_source\x18\x0e \x01(\x0b\x32*.google.storagetransfer.v1.PosixFilesystemH\x01\x12Y\n\x1e\x61zure_blob_storage_data_source\x18\x08 \x01(\x0b\x32/.google.storagetransfer.v1.AzureBlobStorageDataH\x01\x12W\n\x1d\x61ws_s3_compatible_data_source\x18\x13 \x01(\x0b\x32..google.storagetransfer.v1.AwsS3CompatibleDataH\x01\x12L\n\x1egcs_intermediate_data_location\x18\x10 \x01(\x0b\x32\".google.storagetransfer.v1.GcsDataH\x02\x12\x46\n\x11object_conditions\x18\x05 \x01(\x0b\x32+.google.storagetransfer.v1.ObjectConditions\x12\x44\n\x10transfer_options\x18\x06 \x01(\x0b\x32*.google.storagetransfer.v1.TransferOptions\x12\x46\n\x11transfer_manifest\x18\x0f \x01(\x0b\x32+.google.storagetransfer.v1.TransferManifest\x12\x1e\n\x16source_agent_pool_name\x18\x11 \x01(\t\x12\x1c\n\x14sink_agent_pool_name\x18\x12 \x01(\tB\x0b\n\tdata_sinkB\r\n\x0b\x64\x61ta_sourceB\x1c\n\x1aintermediate_data_location\"\xf1\x0b\n\x0fMetadataOptions\x12\x43\n\x07symlink\x18\x01 \x01(\x0e\x32\x32.google.storagetransfer.v1.MetadataOptions.Symlink\x12=\n\x04mode\x18\x02 \x01(\x0e\x32/.google.storagetransfer.v1.MetadataOptions.Mode\x12;\n\x03gid\x18\x03 \x01(\x0e\x32..google.storagetransfer.v1.MetadataOptions.GID\x12;\n\x03uid\x18\x04 \x01(\x0e\x32..google.storagetransfer.v1.MetadataOptions.UID\x12;\n\x03\x61\x63l\x18\x05 \x01(\x0e\x32..google.storagetransfer.v1.MetadataOptions.Acl\x12N\n\rstorage_class\x18\x06 \x01(\x0e\x32\x37.google.storagetransfer.v1.MetadataOptions.StorageClass\x12P\n\x0etemporary_hold\x18\x07 \x01(\x0e\x32\x38.google.storagetransfer.v1.MetadataOptions.TemporaryHold\x12\x42\n\x07kms_key\x18\x08 \x01(\x0e\x32\x31.google.storagetransfer.v1.MetadataOptions.KmsKey\x12L\n\x0ctime_created\x18\t \x01(\x0e\x32\x36.google.storagetransfer.v1.MetadataOptions.TimeCreated\"J\n\x07Symlink\x12\x17\n\x13SYMLINK_UNSPECIFIED\x10\x00\x12\x10\n\x0cSYMLINK_SKIP\x10\x01\x12\x14\n\x10SYMLINK_PRESERVE\x10\x02\">\n\x04Mode\x12\x14\n\x10MODE_UNSPECIFIED\x10\x00\x12\r\n\tMODE_SKIP\x10\x01\x12\x11\n\rMODE_PRESERVE\x10\x02\"8\n\x03GID\x12\x13\n\x0fGID_UNSPECIFIED\x10\x00\x12\x0c\n\x08GID_SKIP\x10\x01\x12\x0e\n\nGID_NUMBER\x10\x02\"8\n\x03UID\x12\x13\n\x0fUID_UNSPECIFIED\x10\x00\x12\x0c\n\x08UID_SKIP\x10\x01\x12\x0e\n\nUID_NUMBER\x10\x02\"P\n\x03\x41\x63l\x12\x13\n\x0f\x41\x43L_UNSPECIFIED\x10\x00\x12\"\n\x1e\x41\x43L_DESTINATION_BUCKET_DEFAULT\x10\x01\x12\x10\n\x0c\x41\x43L_PRESERVE\x10\x02\"\xe6\x01\n\x0cStorageClass\x12\x1d\n\x19STORAGE_CLASS_UNSPECIFIED\x10\x00\x12,\n(STORAGE_CLASS_DESTINATION_BUCKET_DEFAULT\x10\x01\x12\x1a\n\x16STORAGE_CLASS_PRESERVE\x10\x02\x12\x1a\n\x16STORAGE_CLASS_STANDARD\x10\x03\x12\x1a\n\x16STORAGE_CLASS_NEARLINE\x10\x04\x12\x1a\n\x16STORAGE_CLASS_COLDLINE\x10\x05\x12\x19\n\x15STORAGE_CLASS_ARCHIVE\x10\x06\"e\n\rTemporaryHold\x12\x1e\n\x1aTEMPORARY_HOLD_UNSPECIFIED\x10\x00\x12\x17\n\x13TEMPORARY_HOLD_SKIP\x10\x01\x12\x1b\n\x17TEMPORARY_HOLD_PRESERVE\x10\x02\"_\n\x06KmsKey\x12\x17\n\x13KMS_KEY_UNSPECIFIED\x10\x00\x12&\n\"KMS_KEY_DESTINATION_BUCKET_DEFAULT\x10\x01\x12\x14\n\x10KMS_KEY_PRESERVE\x10\x02\"l\n\x0bTimeCreated\x12\x1c\n\x18TIME_CREATED_UNSPECIFIED\x10\x00\x12\x15\n\x11TIME_CREATED_SKIP\x10\x01\x12(\n$TIME_CREATED_PRESERVE_AS_CUSTOM_TIME\x10\x02\"$\n\x10TransferManifest\x12\x10\n\x08location\x18\x01 \x01(\t\"\x85\x02\n\x08Schedule\x12\x33\n\x13schedule_start_date\x18\x01 \x01(\x0b\x32\x11.google.type.DateB\x03\xe0\x41\x02\x12,\n\x11schedule_end_date\x18\x02 \x01(\x0b\x32\x11.google.type.Date\x12\x31\n\x11start_time_of_day\x18\x03 \x01(\x0b\x32\x16.google.type.TimeOfDay\x12/\n\x0f\x65nd_time_of_day\x18\x04 \x01(\x0b\x32\x16.google.type.TimeOfDay\x12\x32\n\x0frepeat_interval\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\"\x9f\x01\n\x0b\x45ventStream\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12;\n\x17\x65vent_stream_start_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12@\n\x1c\x65vent_stream_expiration_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xe0\x05\n\x0bTransferJob\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x12\n\nproject_id\x18\x03 \x01(\t\x12>\n\rtransfer_spec\x18\x04 \x01(\x0b\x32\'.google.storagetransfer.v1.TransferSpec\x12J\n\x13notification_config\x18\x0b \x01(\x0b\x32-.google.storagetransfer.v1.NotificationConfig\x12@\n\x0elogging_config\x18\x0e \x01(\x0b\x32(.google.storagetransfer.v1.LoggingConfig\x12\x35\n\x08schedule\x18\x05 \x01(\x0b\x32#.google.storagetransfer.v1.Schedule\x12<\n\x0c\x65vent_stream\x18\x0f \x01(\x0b\x32&.google.storagetransfer.v1.EventStream\x12=\n\x06status\x18\x06 \x01(\x0e\x32-.google.storagetransfer.v1.TransferJob.Status\x12\x36\n\rcreation_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12?\n\x16last_modification_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x36\n\rdeletion_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x1d\n\x15latest_operation_name\x18\x0c \x01(\t\"H\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x45NABLED\x10\x01\x12\x0c\n\x08\x44ISABLED\x10\x02\x12\x0b\n\x07\x44\x45LETED\x10\x03\"8\n\rErrorLogEntry\x12\x10\n\x03url\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\rerror_details\x18\x03 \x03(\t\"\x98\x01\n\x0c\x45rrorSummary\x12)\n\nerror_code\x18\x01 \x01(\x0e\x32\x10.google.rpc.CodeB\x03\xe0\x41\x02\x12\x18\n\x0b\x65rror_count\x18\x02 \x01(\x03\x42\x03\xe0\x41\x02\x12\x43\n\x11\x65rror_log_entries\x18\x03 \x03(\x0b\x32(.google.storagetransfer.v1.ErrorLogEntry\"\xc3\x06\n\x10TransferCounters\x12!\n\x19objects_found_from_source\x18\x01 \x01(\x03\x12\x1f\n\x17\x62ytes_found_from_source\x18\x02 \x01(\x03\x12$\n\x1cobjects_found_only_from_sink\x18\x03 \x01(\x03\x12\"\n\x1a\x62ytes_found_only_from_sink\x18\x04 \x01(\x03\x12+\n#objects_from_source_skipped_by_sync\x18\x05 \x01(\x03\x12)\n!bytes_from_source_skipped_by_sync\x18\x06 \x01(\x03\x12\x1e\n\x16objects_copied_to_sink\x18\x07 \x01(\x03\x12\x1c\n\x14\x62ytes_copied_to_sink\x18\x08 \x01(\x03\x12#\n\x1bobjects_deleted_from_source\x18\t \x01(\x03\x12!\n\x19\x62ytes_deleted_from_source\x18\n \x01(\x03\x12!\n\x19objects_deleted_from_sink\x18\x0b \x01(\x03\x12\x1f\n\x17\x62ytes_deleted_from_sink\x18\x0c \x01(\x03\x12\"\n\x1aobjects_from_source_failed\x18\r \x01(\x03\x12 \n\x18\x62ytes_from_source_failed\x18\x0e \x01(\x03\x12*\n\"objects_failed_to_delete_from_sink\x18\x0f \x01(\x03\x12(\n bytes_failed_to_delete_from_sink\x18\x10 \x01(\x03\x12%\n\x1d\x64irectories_found_from_source\x18\x11 \x01(\x03\x12.\n&directories_failed_to_list_from_source\x18\x12 \x01(\x03\x12\x33\n+directories_successfully_listed_from_source\x18\x13 \x01(\x03\x12\'\n\x1fintermediate_objects_cleaned_up\x18\x16 \x01(\x03\x12.\n&intermediate_objects_failed_cleaned_up\x18\x17 \x01(\x03\"\xa5\x03\n\x12NotificationConfig\x12\x19\n\x0cpubsub_topic\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12L\n\x0b\x65vent_types\x18\x02 \x03(\x0e\x32\x37.google.storagetransfer.v1.NotificationConfig.EventType\x12X\n\x0epayload_format\x18\x03 \x01(\x0e\x32;.google.storagetransfer.v1.NotificationConfig.PayloadFormatB\x03\xe0\x41\x02\"\x86\x01\n\tEventType\x12\x1a\n\x16\x45VENT_TYPE_UNSPECIFIED\x10\x00\x12\x1e\n\x1aTRANSFER_OPERATION_SUCCESS\x10\x01\x12\x1d\n\x19TRANSFER_OPERATION_FAILED\x10\x02\x12\x1e\n\x1aTRANSFER_OPERATION_ABORTED\x10\x03\"C\n\rPayloadFormat\x12\x1e\n\x1aPAYLOAD_FORMAT_UNSPECIFIED\x10\x00\x12\x08\n\x04NONE\x10\x01\x12\x08\n\x04JSON\x10\x02\"\x8b\x03\n\rLoggingConfig\x12L\n\x0blog_actions\x18\x01 \x03(\x0e\x32\x37.google.storagetransfer.v1.LoggingConfig.LoggableAction\x12W\n\x11log_action_states\x18\x02 \x03(\x0e\x32<.google.storagetransfer.v1.LoggingConfig.LoggableActionState\x12\'\n\x1f\x65nable_onprem_gcs_transfer_logs\x18\x03 \x01(\x08\"Q\n\x0eLoggableAction\x12\x1f\n\x1bLOGGABLE_ACTION_UNSPECIFIED\x10\x00\x12\x08\n\x04\x46IND\x10\x01\x12\n\n\x06\x44\x45LETE\x10\x02\x12\x08\n\x04\x43OPY\x10\x03\"W\n\x13LoggableActionState\x12%\n!LOGGABLE_ACTION_STATE_UNSPECIFIED\x10\x00\x12\r\n\tSUCCEEDED\x10\x01\x12\n\n\x06\x46\x41ILED\x10\x02\"\xc4\x05\n\x11TransferOperation\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x12\n\nproject_id\x18\x02 \x01(\t\x12>\n\rtransfer_spec\x18\x03 \x01(\x0b\x32\'.google.storagetransfer.v1.TransferSpec\x12J\n\x13notification_config\x18\n \x01(\x0b\x32-.google.storagetransfer.v1.NotificationConfig\x12@\n\x0elogging_config\x18\x0c \x01(\x0b\x32(.google.storagetransfer.v1.LoggingConfig\x12.\n\nstart_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x43\n\x06status\x18\x06 \x01(\x0e\x32\x33.google.storagetransfer.v1.TransferOperation.Status\x12=\n\x08\x63ounters\x18\x07 \x01(\x0b\x32+.google.storagetransfer.v1.TransferCounters\x12\x41\n\x10\x65rror_breakdowns\x18\x08 \x03(\x0b\x32\'.google.storagetransfer.v1.ErrorSummary\x12\x19\n\x11transfer_job_name\x18\t \x01(\t\"\x7f\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x0f\n\x0bIN_PROGRESS\x10\x01\x12\n\n\x06PAUSED\x10\x02\x12\x0b\n\x07SUCCESS\x10\x03\x12\n\n\x06\x46\x41ILED\x10\x04\x12\x0b\n\x07\x41\x42ORTED\x10\x05\x12\n\n\x06QUEUED\x10\x06\x12\x0e\n\nSUSPENDING\x10\x07\x42\xef\x01\n#com.google.storagetransfer.v1.protoB\rTransferTypesZMcloud.google.com/go/storagetransfer/apiv1/storagetransferpb;storagetransferpb\xf8\x01\x01\xaa\x02\x1fGoogle.Cloud.StorageTransfer.V1\xca\x02\x1fGoogle\\Cloud\\StorageTransfer\\V1\xea\x02\"Google::Cloud::StorageTransfer::V1b\x06proto3"
|
17
17
|
|
18
18
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
19
19
|
|
@@ -80,6 +80,7 @@ module Google
|
|
80
80
|
MetadataOptions::TimeCreated = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.storagetransfer.v1.MetadataOptions.TimeCreated").enummodule
|
81
81
|
TransferManifest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.storagetransfer.v1.TransferManifest").msgclass
|
82
82
|
Schedule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.storagetransfer.v1.Schedule").msgclass
|
83
|
+
EventStream = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.storagetransfer.v1.EventStream").msgclass
|
83
84
|
TransferJob = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.storagetransfer.v1.TransferJob").msgclass
|
84
85
|
TransferJob::Status = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.storagetransfer.v1.TransferJob.Status").enummodule
|
85
86
|
ErrorLogEntry = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.storagetransfer.v1.ErrorLogEntry").msgclass
|
@@ -50,15 +50,17 @@ module Google
|
|
50
50
|
# job.
|
51
51
|
# @!attribute [rw] transfer_job
|
52
52
|
# @return [::Google::Cloud::StorageTransfer::V1::TransferJob]
|
53
|
-
# Required. The job to update. `transferJob` is expected to specify one or
|
54
|
-
# five fields:
|
53
|
+
# Required. The job to update. `transferJob` is expected to specify one or
|
54
|
+
# more of five fields:
|
55
|
+
# {::Google::Cloud::StorageTransfer::V1::TransferJob#description description},
|
55
56
|
# {::Google::Cloud::StorageTransfer::V1::TransferJob#transfer_spec transfer_spec},
|
56
57
|
# {::Google::Cloud::StorageTransfer::V1::TransferJob#notification_config notification_config},
|
57
58
|
# {::Google::Cloud::StorageTransfer::V1::TransferJob#logging_config logging_config}, and
|
58
|
-
# {::Google::Cloud::StorageTransfer::V1::TransferJob#status status}. An
|
59
|
-
# other fields are rejected with
|
60
|
-
# {::Google::Rpc::Code::INVALID_ARGUMENT INVALID_ARGUMENT}. Updating a
|
61
|
-
#
|
59
|
+
# {::Google::Cloud::StorageTransfer::V1::TransferJob#status status}. An
|
60
|
+
# `UpdateTransferJobRequest` that specifies other fields are rejected with
|
61
|
+
# the error {::Google::Rpc::Code::INVALID_ARGUMENT INVALID_ARGUMENT}. Updating a
|
62
|
+
# job status to
|
63
|
+
# {::Google::Cloud::StorageTransfer::V1::TransferJob::Status::DELETED DELETED} requires
|
62
64
|
# `storagetransfer.jobs.delete` permission.
|
63
65
|
# @!attribute [rw] update_transfer_job_field_mask
|
64
66
|
# @return [::Google::Protobuf::FieldMask]
|
@@ -68,9 +70,10 @@ module Google
|
|
68
70
|
# {::Google::Cloud::StorageTransfer::V1::TransferJob#transfer_spec transfer_spec},
|
69
71
|
# {::Google::Cloud::StorageTransfer::V1::TransferJob#notification_config notification_config},
|
70
72
|
# {::Google::Cloud::StorageTransfer::V1::TransferJob#logging_config logging_config}, and
|
71
|
-
# {::Google::Cloud::StorageTransfer::V1::TransferJob#status status}. To update the
|
72
|
-
# complete transfer specification must be
|
73
|
-
# specification missing any required fields is
|
73
|
+
# {::Google::Cloud::StorageTransfer::V1::TransferJob#status status}. To update the
|
74
|
+
# `transfer_spec` of the job, a complete transfer specification must be
|
75
|
+
# provided. An incomplete specification missing any required fields is
|
76
|
+
# rejected with the error
|
74
77
|
# {::Google::Rpc::Code::INVALID_ARGUMENT INVALID_ARGUMENT}.
|
75
78
|
class UpdateTransferJobRequest
|
76
79
|
include ::Google::Protobuf::MessageExts
|
@@ -204,8 +207,8 @@ module Google
|
|
204
207
|
# Specifies the request passed to UpdateAgentPool.
|
205
208
|
# @!attribute [rw] agent_pool
|
206
209
|
# @return [::Google::Cloud::StorageTransfer::V1::AgentPool]
|
207
|
-
# Required. The agent pool to update. `agent_pool` is expected to specify
|
208
|
-
# fields:
|
210
|
+
# Required. The agent pool to update. `agent_pool` is expected to specify
|
211
|
+
# following fields:
|
209
212
|
#
|
210
213
|
# * {::Google::Cloud::StorageTransfer::V1::AgentPool#name name}
|
211
214
|
#
|
@@ -76,25 +76,27 @@ module Google
|
|
76
76
|
# the `updated` property of Cloud Storage objects, the `LastModified` field
|
77
77
|
# of S3 objects, and the `Last-Modified` header of Azure blobs.
|
78
78
|
#
|
79
|
-
# Transfers with a {::Google::Cloud::StorageTransfer::V1::PosixFilesystem PosixFilesystem}
|
80
|
-
# `ObjectConditions`.
|
79
|
+
# Transfers with a {::Google::Cloud::StorageTransfer::V1::PosixFilesystem PosixFilesystem}
|
80
|
+
# source or destination don't support `ObjectConditions`.
|
81
81
|
# @!attribute [rw] min_time_elapsed_since_last_modification
|
82
82
|
# @return [::Google::Protobuf::Duration]
|
83
83
|
# Ensures that objects are not transferred until a specific minimum time
|
84
84
|
# has elapsed after the "last modification time". When a
|
85
|
-
# {::Google::Cloud::StorageTransfer::V1::TransferOperation TransferOperation} begins,
|
86
|
-
# transferred only if the elapsed
|
87
|
-
#
|
88
|
-
#
|
89
|
-
#
|
85
|
+
# {::Google::Cloud::StorageTransfer::V1::TransferOperation TransferOperation} begins,
|
86
|
+
# objects with a "last modification time" are transferred only if the elapsed
|
87
|
+
# time between the
|
88
|
+
# {::Google::Cloud::StorageTransfer::V1::TransferOperation#start_time start_time} of the
|
89
|
+
# `TransferOperation` and the "last modification time" of the object is equal
|
90
|
+
# to or greater than the value of min_time_elapsed_since_last_modification`.
|
90
91
|
# Objects that do not have a "last modification time" are also transferred.
|
91
92
|
# @!attribute [rw] max_time_elapsed_since_last_modification
|
92
93
|
# @return [::Google::Protobuf::Duration]
|
93
94
|
# Ensures that objects are not transferred if a specific maximum time
|
94
95
|
# has elapsed since the "last modification time".
|
95
|
-
# When a {::Google::Cloud::StorageTransfer::V1::TransferOperation TransferOperation}
|
96
|
-
# "last modification time" are transferred only if the
|
97
|
-
#
|
96
|
+
# When a {::Google::Cloud::StorageTransfer::V1::TransferOperation TransferOperation}
|
97
|
+
# begins, objects with a "last modification time" are transferred only if the
|
98
|
+
# elapsed time between the
|
99
|
+
# {::Google::Cloud::StorageTransfer::V1::TransferOperation#start_time start_time} of the
|
98
100
|
# `TransferOperation`and the "last modification time" of the object
|
99
101
|
# is less than the value of max_time_elapsed_since_last_modification`.
|
100
102
|
# Objects that do not have a "last modification time" are also transferred.
|
@@ -103,9 +105,10 @@ module Google
|
|
103
105
|
# If you specify `include_prefixes`, Storage Transfer Service uses the items
|
104
106
|
# in the `include_prefixes` array to determine which objects to include in a
|
105
107
|
# transfer. Objects must start with one of the matching `include_prefixes`
|
106
|
-
# for inclusion in the transfer. If
|
107
|
-
#
|
108
|
-
#
|
108
|
+
# for inclusion in the transfer. If
|
109
|
+
# {::Google::Cloud::StorageTransfer::V1::ObjectConditions#exclude_prefixes exclude_prefixes}
|
110
|
+
# is specified, objects must not start with any of the `exclude_prefixes`
|
111
|
+
# specified for inclusion in the transfer.
|
109
112
|
#
|
110
113
|
# The following are requirements of `include_prefixes`:
|
111
114
|
#
|
@@ -152,8 +155,10 @@ module Google
|
|
152
155
|
# namespace. No exclude-prefix may be a prefix of another
|
153
156
|
# exclude-prefix.
|
154
157
|
#
|
155
|
-
# * If
|
156
|
-
#
|
158
|
+
# * If
|
159
|
+
# {::Google::Cloud::StorageTransfer::V1::ObjectConditions#include_prefixes include_prefixes}
|
160
|
+
# is specified, then each exclude-prefix must start with the value of a
|
161
|
+
# path explicitly included by `include_prefixes`.
|
157
162
|
#
|
158
163
|
# The max size of `exclude_prefixes` is 1000.
|
159
164
|
#
|
@@ -215,9 +220,9 @@ module Google
|
|
215
220
|
# bucket](https://docs.aws.amazon.com/AmazonS3/latest/dev/create-bucket-get-location-example.html)).
|
216
221
|
# @!attribute [rw] aws_access_key
|
217
222
|
# @return [::Google::Cloud::StorageTransfer::V1::AwsAccessKey]
|
218
|
-
# Input only. AWS access key used to sign the API requests to the AWS S3
|
219
|
-
# Permissions on the bucket must be granted to the access ID of the
|
220
|
-
# access key.
|
223
|
+
# Input only. AWS access key used to sign the API requests to the AWS S3
|
224
|
+
# bucket. Permissions on the bucket must be granted to the access ID of the
|
225
|
+
# AWS access key.
|
221
226
|
#
|
222
227
|
# For information on our data retention policy for user credentials, see
|
223
228
|
# [User credentials](/storage-transfer/docs/data-retention#user-credentials).
|
@@ -237,7 +242,30 @@ module Google
|
|
237
242
|
#
|
238
243
|
# When a role ARN is provided, Transfer Service fetches temporary
|
239
244
|
# credentials for the session using a `AssumeRoleWithWebIdentity` call for
|
240
|
-
# the provided role using the
|
245
|
+
# the provided role using the
|
246
|
+
# {::Google::Cloud::StorageTransfer::V1::GoogleServiceAccount GoogleServiceAccount} for
|
247
|
+
# this project.
|
248
|
+
# @!attribute [rw] credentials_secret
|
249
|
+
# @return [::String]
|
250
|
+
# Optional. The Resource name of a secret in Secret Manager.
|
251
|
+
#
|
252
|
+
# The Azure SAS token must be stored in Secret Manager in JSON format:
|
253
|
+
# <pre>{
|
254
|
+
# "sas_token" : "<var>SAS_TOKEN</var>"
|
255
|
+
# }</pre>
|
256
|
+
# {::Google::Cloud::StorageTransfer::V1::GoogleServiceAccount GoogleServiceAccount} must
|
257
|
+
# be granted `roles/secretmanager.secretAccessor` for the resource.
|
258
|
+
#
|
259
|
+
# See [Configure access to a source: Microsoft Azure Blob Storage]
|
260
|
+
# (https://cloud.google.com/storage-transfer/docs/source-microsoft-azure#secret_manager)
|
261
|
+
# for more information.
|
262
|
+
#
|
263
|
+
# If `credentials_secret` is specified, do not specify [azure_credentials][].
|
264
|
+
#
|
265
|
+
# This feature is in
|
266
|
+
# [preview](https://cloud.google.com/terms/service-terms#1).
|
267
|
+
#
|
268
|
+
# Format: `projects/{project_number}/secrets/{secret_name}`
|
241
269
|
class AwsS3Data
|
242
270
|
include ::Google::Protobuf::MessageExts
|
243
271
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -255,7 +283,8 @@ module Google
|
|
255
283
|
# Required. The name of the Azure Storage account.
|
256
284
|
# @!attribute [rw] azure_credentials
|
257
285
|
# @return [::Google::Cloud::StorageTransfer::V1::AzureCredentials]
|
258
|
-
# Required. Input only. Credentials used to authenticate API requests to
|
286
|
+
# Required. Input only. Credentials used to authenticate API requests to
|
287
|
+
# Azure.
|
259
288
|
#
|
260
289
|
# For information on our data retention policy for user credentials, see
|
261
290
|
# [User credentials](/storage-transfer/docs/data-retention#user-credentials).
|
@@ -269,6 +298,28 @@ module Google
|
|
269
298
|
# Must be an empty string or full path name that ends with a '/'. This field
|
270
299
|
# is treated as an object prefix. As such, it should generally not begin with
|
271
300
|
# a '/'.
|
301
|
+
# @!attribute [rw] credentials_secret
|
302
|
+
# @return [::String]
|
303
|
+
# Optional. The Resource name of a secret in Secret Manager.
|
304
|
+
#
|
305
|
+
# The Azure SAS token must be stored in Secret Manager in JSON format:
|
306
|
+
# <pre>{
|
307
|
+
# "sas_token" : "<var>SAS_TOKEN</var>"
|
308
|
+
# }</pre>
|
309
|
+
# {::Google::Cloud::StorageTransfer::V1::GoogleServiceAccount GoogleServiceAccount} must
|
310
|
+
# be granted `roles/secretmanager.secretAccessor` for the resource.
|
311
|
+
#
|
312
|
+
# See [Configure access to a source: Microsoft Azure Blob Storage]
|
313
|
+
# (https://cloud.google.com/storage-transfer/docs/source-microsoft-azure#secret_manager)
|
314
|
+
# for more information.
|
315
|
+
#
|
316
|
+
# If `credentials_secret` is specified, do not specify
|
317
|
+
# {::Google::Cloud::StorageTransfer::V1::AzureBlobStorageData#azure_credentials azure_credentials}.
|
318
|
+
#
|
319
|
+
# This feature is in
|
320
|
+
# [preview](https://cloud.google.com/terms/service-terms#1).
|
321
|
+
#
|
322
|
+
# Format: `projects/{project_number}/secrets/{secret_name}`
|
272
323
|
class AzureBlobStorageData
|
273
324
|
include ::Google::Protobuf::MessageExts
|
274
325
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -312,7 +363,8 @@ module Google
|
|
312
363
|
# HTTP server to support `Range` requests and to return a `Content-Length`
|
313
364
|
# header in each response.
|
314
365
|
#
|
315
|
-
# * {::Google::Cloud::StorageTransfer::V1::ObjectConditions ObjectConditions} have no
|
366
|
+
# * {::Google::Cloud::StorageTransfer::V1::ObjectConditions ObjectConditions} have no
|
367
|
+
# effect when filtering objects to transfer.
|
316
368
|
# @!attribute [rw] list_url
|
317
369
|
# @return [::String]
|
318
370
|
# Required. The URL that points to the file that stores the object list
|
@@ -495,15 +547,17 @@ module Google
|
|
495
547
|
# @return [::Boolean]
|
496
548
|
# Whether objects that exist only in the sink should be deleted.
|
497
549
|
#
|
498
|
-
# **Note:** This option and
|
499
|
-
#
|
550
|
+
# **Note:** This option and
|
551
|
+
# {::Google::Cloud::StorageTransfer::V1::TransferOptions#delete_objects_from_source_after_transfer delete_objects_from_source_after_transfer}
|
552
|
+
# are mutually exclusive.
|
500
553
|
# @!attribute [rw] delete_objects_from_source_after_transfer
|
501
554
|
# @return [::Boolean]
|
502
555
|
# Whether objects should be deleted from the source after they are
|
503
556
|
# transferred to the sink.
|
504
557
|
#
|
505
|
-
# **Note:** This option and
|
506
|
-
#
|
558
|
+
# **Note:** This option and
|
559
|
+
# {::Google::Cloud::StorageTransfer::V1::TransferOptions#delete_objects_unique_in_sink delete_objects_unique_in_sink}
|
560
|
+
# are mutually exclusive.
|
507
561
|
# @!attribute [rw] overwrite_when
|
508
562
|
# @return [::Google::Cloud::StorageTransfer::V1::TransferOptions::OverwriteWhen]
|
509
563
|
# When to overwrite objects that already exist in the sink. If not set,
|
@@ -563,7 +617,12 @@ module Google
|
|
563
617
|
# An AWS S3 compatible data source.
|
564
618
|
# @!attribute [rw] gcs_intermediate_data_location
|
565
619
|
# @return [::Google::Cloud::StorageTransfer::V1::GcsData]
|
566
|
-
# Cloud Storage
|
620
|
+
# For transfers between file systems, specifies a Cloud Storage bucket
|
621
|
+
# to be used as an intermediate location through which to transfer data.
|
622
|
+
#
|
623
|
+
# See [Transfer data between file
|
624
|
+
# systems](https://cloud.google.com/storage-transfer/docs/file-to-file) for
|
625
|
+
# more information.
|
567
626
|
# @!attribute [rw] object_conditions
|
568
627
|
# @return [::Google::Cloud::StorageTransfer::V1::ObjectConditions]
|
569
628
|
# Only objects that satisfy these object conditions are included in the set
|
@@ -720,7 +779,9 @@ module Google
|
|
720
779
|
STORAGE_CLASS_DESTINATION_BUCKET_DEFAULT = 1
|
721
780
|
|
722
781
|
# Preserve the object's original storage class. This is only supported for
|
723
|
-
# transfers from Google Cloud Storage buckets.
|
782
|
+
# transfers from Google Cloud Storage buckets. REGIONAL and MULTI_REGIONAL
|
783
|
+
# storage classes will be mapped to STANDARD to ensure they can be written
|
784
|
+
# to the destination bucket.
|
724
785
|
STORAGE_CLASS_PRESERVE = 2
|
725
786
|
|
726
787
|
# Set the storage class to STANDARD.
|
@@ -795,7 +856,8 @@ module Google
|
|
795
856
|
# @!attribute [rw] schedule_start_date
|
796
857
|
# @return [::Google::Type::Date]
|
797
858
|
# Required. The start date of a transfer. Date boundaries are determined
|
798
|
-
# relative to UTC time. If `schedule_start_date` and
|
859
|
+
# relative to UTC time. If `schedule_start_date` and
|
860
|
+
# {::Google::Cloud::StorageTransfer::V1::Schedule#start_time_of_day start_time_of_day}
|
799
861
|
# are in the past relative to the job's creation time, the transfer starts
|
800
862
|
# the day after you schedule the transfer request.
|
801
863
|
#
|
@@ -805,17 +867,22 @@ module Google
|
|
805
867
|
# Transfer Service server receives the request on June 2, then it creates
|
806
868
|
# a TransferJob with `schedule_start_date` set to June 2 and a
|
807
869
|
# `start_time_of_day` set to midnight UTC. The first scheduled
|
808
|
-
# {::Google::Cloud::StorageTransfer::V1::TransferOperation TransferOperation} takes
|
870
|
+
# {::Google::Cloud::StorageTransfer::V1::TransferOperation TransferOperation} takes
|
871
|
+
# place on June 3 at midnight UTC.
|
809
872
|
# @!attribute [rw] schedule_end_date
|
810
873
|
# @return [::Google::Type::Date]
|
811
874
|
# The last day a transfer runs. Date boundaries are determined relative to
|
812
875
|
# UTC time. A job runs once per 24 hours within the following guidelines:
|
813
876
|
#
|
814
|
-
# * If `schedule_end_date` and
|
877
|
+
# * If `schedule_end_date` and
|
878
|
+
# {::Google::Cloud::StorageTransfer::V1::Schedule#schedule_start_date schedule_start_date}
|
879
|
+
# are the same and in
|
815
880
|
# the future relative to UTC, the transfer is executed only one time.
|
816
881
|
# * If `schedule_end_date` is later than `schedule_start_date` and
|
817
882
|
# `schedule_end_date` is in the future relative to UTC, the job runs each
|
818
|
-
# day at
|
883
|
+
# day at
|
884
|
+
# {::Google::Cloud::StorageTransfer::V1::Schedule#start_time_of_day start_time_of_day}
|
885
|
+
# through `schedule_end_date`.
|
819
886
|
# @!attribute [rw] start_time_of_day
|
820
887
|
# @return [::Google::Type::TimeOfDay]
|
821
888
|
# The time in UTC that a transfer job is scheduled to run. Transfers may
|
@@ -825,7 +892,8 @@ module Google
|
|
825
892
|
#
|
826
893
|
# * One-time transfers run immediately.
|
827
894
|
# * Recurring transfers run immediately, and each day at midnight UTC,
|
828
|
-
# through
|
895
|
+
# through
|
896
|
+
# {::Google::Cloud::StorageTransfer::V1::Schedule#schedule_end_date schedule_end_date}.
|
829
897
|
#
|
830
898
|
# If `start_time_of_day` is specified:
|
831
899
|
#
|
@@ -835,11 +903,15 @@ module Google
|
|
835
903
|
# @!attribute [rw] end_time_of_day
|
836
904
|
# @return [::Google::Type::TimeOfDay]
|
837
905
|
# The time in UTC that no further transfer operations are scheduled. Combined
|
838
|
-
# with
|
839
|
-
#
|
840
|
-
#
|
841
|
-
#
|
842
|
-
#
|
906
|
+
# with
|
907
|
+
# {::Google::Cloud::StorageTransfer::V1::Schedule#schedule_end_date schedule_end_date},
|
908
|
+
# `end_time_of_day` specifies the end date and time for starting new transfer
|
909
|
+
# operations. This field must be greater than or equal to the timestamp
|
910
|
+
# corresponding to the combintation of
|
911
|
+
# {::Google::Cloud::StorageTransfer::V1::Schedule#schedule_start_date schedule_start_date}
|
912
|
+
# and
|
913
|
+
# {::Google::Cloud::StorageTransfer::V1::Schedule#start_time_of_day start_time_of_day},
|
914
|
+
# and is subject to the following:
|
843
915
|
#
|
844
916
|
# * If `end_time_of_day` is not set and `schedule_end_date` is set, then
|
845
917
|
# a default value of `23:59:59` is used for `end_time_of_day`.
|
@@ -856,6 +928,30 @@ module Google
|
|
856
928
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
857
929
|
end
|
858
930
|
|
931
|
+
# Specifies the Event-driven transfer options. Event-driven transfers listen to
|
932
|
+
# an event stream to transfer updated files.
|
933
|
+
# @!attribute [rw] name
|
934
|
+
# @return [::String]
|
935
|
+
# Required. Specifies a unique name of the resource such as AWS SQS
|
936
|
+
# ARN in the form 'arn:aws:sqs:region:account_id:queue_name',
|
937
|
+
# or Pub/Sub subscription resource name in the form
|
938
|
+
# 'projects/\\{project}/subscriptions/\\{sub}'.
|
939
|
+
# @!attribute [rw] event_stream_start_time
|
940
|
+
# @return [::Google::Protobuf::Timestamp]
|
941
|
+
# Specifies the date and time that Storage Transfer Service starts
|
942
|
+
# listening for events from this stream. If no start time is specified or
|
943
|
+
# start time is in the past, Storage Transfer Service starts listening
|
944
|
+
# immediately.
|
945
|
+
# @!attribute [rw] event_stream_expiration_time
|
946
|
+
# @return [::Google::Protobuf::Timestamp]
|
947
|
+
# Specifies the data and time at which Storage Transfer Service stops
|
948
|
+
# listening for events from this stream. After this time, any transfers in
|
949
|
+
# progress will complete, but no new transfers are initiated.
|
950
|
+
class EventStream
|
951
|
+
include ::Google::Protobuf::MessageExts
|
952
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
953
|
+
end
|
954
|
+
|
859
955
|
# This resource represents the configuration of a transfer job that runs
|
860
956
|
# periodically.
|
861
957
|
# @!attribute [rw] name
|
@@ -908,6 +1004,10 @@ module Google
|
|
908
1004
|
# This is an optional field. When the field is not set, the job never
|
909
1005
|
# executes a transfer, unless you invoke RunTransferJob or update the job to
|
910
1006
|
# have a non-empty schedule.
|
1007
|
+
# @!attribute [rw] event_stream
|
1008
|
+
# @return [::Google::Cloud::StorageTransfer::V1::EventStream]
|
1009
|
+
# Specifies the event stream for the transfer job for event-driven transfers.
|
1010
|
+
# When EventStream is specified, the Schedule fields are ignored.
|
911
1011
|
# @!attribute [rw] status
|
912
1012
|
# @return [::Google::Cloud::StorageTransfer::V1::TransferJob::Status]
|
913
1013
|
# Status of the job. This value MUST be specified for
|
@@ -915,9 +1015,10 @@ module Google
|
|
915
1015
|
#
|
916
1016
|
# **Note:** The effect of the new job status takes place during a subsequent
|
917
1017
|
# job run. For example, if you change the job status from
|
918
|
-
# {::Google::Cloud::StorageTransfer::V1::TransferJob::Status::ENABLED ENABLED} to
|
919
|
-
#
|
920
|
-
#
|
1018
|
+
# {::Google::Cloud::StorageTransfer::V1::TransferJob::Status::ENABLED ENABLED} to
|
1019
|
+
# {::Google::Cloud::StorageTransfer::V1::TransferJob::Status::DISABLED DISABLED}, and an
|
1020
|
+
# operation spawned by the transfer is running, the status change would not
|
1021
|
+
# affect the current operation.
|
921
1022
|
# @!attribute [r] creation_time
|
922
1023
|
# @return [::Google::Protobuf::Timestamp]
|
923
1024
|
# Output only. The time that the transfer job was created.
|
@@ -1079,17 +1180,23 @@ module Google
|
|
1079
1180
|
# Notifications are published to the customer-provided topic using the
|
1080
1181
|
# following `PubsubMessage.attributes`:
|
1081
1182
|
#
|
1082
|
-
# * `"eventType"`: one of the
|
1083
|
-
#
|
1084
|
-
# * `"
|
1183
|
+
# * `"eventType"`: one of the
|
1184
|
+
# {::Google::Cloud::StorageTransfer::V1::NotificationConfig::EventType EventType} values
|
1185
|
+
# * `"payloadFormat"`: one of the
|
1186
|
+
# {::Google::Cloud::StorageTransfer::V1::NotificationConfig::PayloadFormat PayloadFormat}
|
1187
|
+
# values
|
1188
|
+
# * `"projectId"`: the
|
1189
|
+
# {::Google::Cloud::StorageTransfer::V1::TransferOperation#project_id project_id} of the
|
1085
1190
|
# `TransferOperation`
|
1086
1191
|
# * `"transferJobName"`: the
|
1087
|
-
# {::Google::Cloud::StorageTransfer::V1::TransferOperation#transfer_job_name transfer_job_name}
|
1088
|
-
# `TransferOperation`
|
1089
|
-
# * `"transferOperationName"`: the
|
1192
|
+
# {::Google::Cloud::StorageTransfer::V1::TransferOperation#transfer_job_name transfer_job_name}
|
1193
|
+
# of the `TransferOperation`
|
1194
|
+
# * `"transferOperationName"`: the
|
1195
|
+
# {::Google::Cloud::StorageTransfer::V1::TransferOperation#name name} of the
|
1090
1196
|
# `TransferOperation`
|
1091
1197
|
#
|
1092
|
-
# The `PubsubMessage.data` contains a
|
1198
|
+
# The `PubsubMessage.data` contains a
|
1199
|
+
# {::Google::Cloud::StorageTransfer::V1::TransferOperation TransferOperation} resource
|
1093
1200
|
# formatted according to the specified `PayloadFormat`.
|
1094
1201
|
# @!attribute [rw] pubsub_topic
|
1095
1202
|
# @return [::String]
|
@@ -1162,12 +1269,14 @@ module Google
|
|
1162
1269
|
# @return [::Array<::Google::Cloud::StorageTransfer::V1::LoggingConfig::LoggableAction>]
|
1163
1270
|
# Specifies the actions to be logged. If empty, no logs are generated.
|
1164
1271
|
# Not supported for transfers with PosixFilesystem data sources; use
|
1165
|
-
# {::Google::Cloud::StorageTransfer::V1::LoggingConfig#enable_onprem_gcs_transfer_logs enable_onprem_gcs_transfer_logs}
|
1272
|
+
# {::Google::Cloud::StorageTransfer::V1::LoggingConfig#enable_onprem_gcs_transfer_logs enable_onprem_gcs_transfer_logs}
|
1273
|
+
# instead.
|
1166
1274
|
# @!attribute [rw] log_action_states
|
1167
1275
|
# @return [::Array<::Google::Cloud::StorageTransfer::V1::LoggingConfig::LoggableActionState>]
|
1168
1276
|
# States in which `log_actions` are logged. If empty, no logs are generated.
|
1169
1277
|
# Not supported for transfers with PosixFilesystem data sources; use
|
1170
|
-
# {::Google::Cloud::StorageTransfer::V1::LoggingConfig#enable_onprem_gcs_transfer_logs enable_onprem_gcs_transfer_logs}
|
1278
|
+
# {::Google::Cloud::StorageTransfer::V1::LoggingConfig#enable_onprem_gcs_transfer_logs enable_onprem_gcs_transfer_logs}
|
1279
|
+
# instead.
|
1171
1280
|
# @!attribute [rw] enable_onprem_gcs_transfer_logs
|
1172
1281
|
# @return [::Boolean]
|
1173
1282
|
# For transfers with a PosixFilesystem source, this option enables the Cloud
|
@@ -1219,6 +1328,9 @@ module Google
|
|
1219
1328
|
# @!attribute [rw] notification_config
|
1220
1329
|
# @return [::Google::Cloud::StorageTransfer::V1::NotificationConfig]
|
1221
1330
|
# Notification configuration.
|
1331
|
+
# @!attribute [rw] logging_config
|
1332
|
+
# @return [::Google::Cloud::StorageTransfer::V1::LoggingConfig]
|
1333
|
+
# Cloud Logging configuration.
|
1222
1334
|
# @!attribute [rw] start_time
|
1223
1335
|
# @return [::Google::Protobuf::Timestamp]
|
1224
1336
|
# Start time of this transfer execution.
|
@@ -1263,6 +1375,9 @@ module Google
|
|
1263
1375
|
|
1264
1376
|
# Temporarily delayed by the system. No user action is required.
|
1265
1377
|
QUEUED = 6
|
1378
|
+
|
1379
|
+
# The operation is suspending and draining the ongoing work to completion.
|
1380
|
+
SUSPENDING = 7
|
1266
1381
|
end
|
1267
1382
|
end
|
1268
1383
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-storage_transfer-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-06-
|
11
|
+
date: 2023-06-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|