google-cloud-storage_transfer-v1 0.8.0 → 1.4.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/AUTHENTICATION.md +72 -99
- data/README.md +31 -21
- data/lib/google/cloud/storage_transfer/v1/storage_transfer_service/client.rb +126 -48
- data/lib/google/cloud/storage_transfer/v1/storage_transfer_service/operations.rb +60 -26
- data/lib/google/cloud/storage_transfer/v1/storage_transfer_service/rest/client.rb +127 -46
- data/lib/google/cloud/storage_transfer/v1/storage_transfer_service/rest/operations.rb +94 -50
- data/lib/google/cloud/storage_transfer/v1/storage_transfer_service/rest/service_stub.rb +148 -87
- data/lib/google/cloud/storage_transfer/v1/version.rb +1 -1
- data/lib/google/storagetransfer/v1/transfer_pb.rb +2 -2
- data/lib/google/storagetransfer/v1/transfer_types_pb.rb +4 -2
- data/proto_docs/google/api/client.rb +86 -8
- data/proto_docs/google/api/resource.rb +7 -2
- data/proto_docs/google/longrunning/operations.rb +23 -14
- data/proto_docs/google/protobuf/any.rb +2 -1
- data/proto_docs/google/storagetransfer/v1/transfer.rb +25 -10
- data/proto_docs/google/storagetransfer/v1/transfer_types.rb +150 -63
- metadata +6 -121
|
@@ -206,6 +206,21 @@ module Google
|
|
|
206
206
|
#
|
|
207
207
|
# The root path value must meet
|
|
208
208
|
# [Object Name Requirements](/storage/docs/naming#objectnames).
|
|
209
|
+
# @!attribute [rw] managed_folder_transfer_enabled
|
|
210
|
+
# @return [::Boolean]
|
|
211
|
+
# Preview. Enables the transfer of managed folders between Cloud Storage
|
|
212
|
+
# buckets. Set this option on the gcs_data_source.
|
|
213
|
+
#
|
|
214
|
+
# If set to true:
|
|
215
|
+
#
|
|
216
|
+
# - Managed folders in the source bucket are transferred to the
|
|
217
|
+
# destination bucket.
|
|
218
|
+
# - Managed folders in the destination bucket are overwritten. Other
|
|
219
|
+
# OVERWRITE options are not supported.
|
|
220
|
+
#
|
|
221
|
+
# See
|
|
222
|
+
# [Transfer Cloud Storage managed
|
|
223
|
+
# folders](/storage-transfer/docs/managed-folders).
|
|
209
224
|
class GcsData
|
|
210
225
|
include ::Google::Protobuf::MessageExts
|
|
211
226
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -245,27 +260,45 @@ module Google
|
|
|
245
260
|
# the provided role using the
|
|
246
261
|
# {::Google::Cloud::StorageTransfer::V1::GoogleServiceAccount GoogleServiceAccount} for
|
|
247
262
|
# this project.
|
|
263
|
+
# @!attribute [rw] cloudfront_domain
|
|
264
|
+
# @return [::String]
|
|
265
|
+
# Optional. The CloudFront distribution domain name pointing to this bucket,
|
|
266
|
+
# to use when fetching.
|
|
267
|
+
#
|
|
268
|
+
# See
|
|
269
|
+
# [Transfer from S3 via
|
|
270
|
+
# CloudFront](https://cloud.google.com/storage-transfer/docs/s3-cloudfront)
|
|
271
|
+
# for more information.
|
|
272
|
+
#
|
|
273
|
+
# Format: `https://{id}.cloudfront.net` or any valid custom domain. Must
|
|
274
|
+
# begin with `https://`.
|
|
248
275
|
# @!attribute [rw] credentials_secret
|
|
249
276
|
# @return [::String]
|
|
250
277
|
# Optional. The Resource name of a secret in Secret Manager.
|
|
251
278
|
#
|
|
252
|
-
#
|
|
253
|
-
#
|
|
254
|
-
#
|
|
255
|
-
#
|
|
279
|
+
# AWS credentials must be stored in Secret Manager in JSON format:
|
|
280
|
+
#
|
|
281
|
+
# {
|
|
282
|
+
# "access_key_id": "ACCESS_KEY_ID",
|
|
283
|
+
# "secret_access_key": "SECRET_ACCESS_KEY"
|
|
284
|
+
# }
|
|
285
|
+
#
|
|
256
286
|
# {::Google::Cloud::StorageTransfer::V1::GoogleServiceAccount GoogleServiceAccount} must
|
|
257
287
|
# be granted `roles/secretmanager.secretAccessor` for the resource.
|
|
258
288
|
#
|
|
259
|
-
# See [Configure access to a source:
|
|
260
|
-
# (https://cloud.google.com/storage-transfer/docs/source-
|
|
289
|
+
# See [Configure access to a source: Amazon S3]
|
|
290
|
+
# (https://cloud.google.com/storage-transfer/docs/source-amazon-s3#secret_manager)
|
|
261
291
|
# for more information.
|
|
262
292
|
#
|
|
263
|
-
# If `credentials_secret` is specified, do not specify
|
|
264
|
-
#
|
|
265
|
-
#
|
|
266
|
-
# [preview](https://cloud.google.com/terms/service-terms#1).
|
|
293
|
+
# If `credentials_secret` is specified, do not specify
|
|
294
|
+
# {::Google::Cloud::StorageTransfer::V1::AwsS3Data#role_arn role_arn} or
|
|
295
|
+
# {::Google::Cloud::StorageTransfer::V1::AwsS3Data#aws_access_key aws_access_key}.
|
|
267
296
|
#
|
|
268
297
|
# Format: `projects/{project_number}/secrets/{secret_name}`
|
|
298
|
+
# @!attribute [rw] managed_private_network
|
|
299
|
+
# @return [::Boolean]
|
|
300
|
+
# Egress bytes over a Google-managed private network.
|
|
301
|
+
# This network is shared between other users of Storage Transfer Service.
|
|
269
302
|
class AwsS3Data
|
|
270
303
|
include ::Google::Protobuf::MessageExts
|
|
271
304
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -303,9 +336,11 @@ module Google
|
|
|
303
336
|
# Optional. The Resource name of a secret in Secret Manager.
|
|
304
337
|
#
|
|
305
338
|
# The Azure SAS token must be stored in Secret Manager in JSON format:
|
|
306
|
-
#
|
|
307
|
-
#
|
|
308
|
-
#
|
|
339
|
+
#
|
|
340
|
+
# {
|
|
341
|
+
# "sas_token" : "SAS_TOKEN"
|
|
342
|
+
# }
|
|
343
|
+
#
|
|
309
344
|
# {::Google::Cloud::StorageTransfer::V1::GoogleServiceAccount GoogleServiceAccount} must
|
|
310
345
|
# be granted `roles/secretmanager.secretAccessor` for the resource.
|
|
311
346
|
#
|
|
@@ -316,52 +351,49 @@ module Google
|
|
|
316
351
|
# If `credentials_secret` is specified, do not specify
|
|
317
352
|
# {::Google::Cloud::StorageTransfer::V1::AzureBlobStorageData#azure_credentials azure_credentials}.
|
|
318
353
|
#
|
|
319
|
-
# This feature is in
|
|
320
|
-
# [preview](https://cloud.google.com/terms/service-terms#1).
|
|
321
|
-
#
|
|
322
354
|
# Format: `projects/{project_number}/secrets/{secret_name}`
|
|
323
355
|
class AzureBlobStorageData
|
|
324
356
|
include ::Google::Protobuf::MessageExts
|
|
325
357
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
326
358
|
end
|
|
327
359
|
|
|
328
|
-
# An HttpData resource specifies a list of objects on the web to be
|
|
329
|
-
# over HTTP. The information of the objects to be transferred is
|
|
330
|
-
# a file referenced by a URL. The first line in the file must be
|
|
331
|
-
#
|
|
332
|
-
#
|
|
333
|
-
#
|
|
360
|
+
# An HttpData resource specifies a list of objects on the web to be
|
|
361
|
+
# transferred over HTTP. The information of the objects to be transferred is
|
|
362
|
+
# contained in a file referenced by a URL. The first line in the file must be
|
|
363
|
+
# `"TsvHttpData-1.0"`, which specifies the format of the file. Subsequent
|
|
364
|
+
# lines specify the information of the list of objects, one object per list
|
|
365
|
+
# entry. Each entry has the following tab-delimited fields:
|
|
334
366
|
#
|
|
335
|
-
#
|
|
367
|
+
# * **HTTP URL** — The location of the object.
|
|
336
368
|
#
|
|
337
|
-
#
|
|
369
|
+
# * **Length** — The size of the object in bytes.
|
|
338
370
|
#
|
|
339
|
-
#
|
|
371
|
+
# * **MD5** — The base64-encoded MD5 hash of the object.
|
|
340
372
|
#
|
|
341
|
-
#
|
|
342
|
-
#
|
|
343
|
-
#
|
|
373
|
+
# For an example of a valid TSV file, see
|
|
374
|
+
# [Transferring data from
|
|
375
|
+
# URLs](https://cloud.google.com/storage-transfer/docs/create-url-list).
|
|
344
376
|
#
|
|
345
|
-
#
|
|
377
|
+
# When transferring data based on a URL list, keep the following in mind:
|
|
346
378
|
#
|
|
347
379
|
# * When an object located at `http(s)://hostname:port/<URL-path>` is
|
|
348
|
-
#
|
|
380
|
+
# transferred to a data sink, the name of the object at the data sink is
|
|
349
381
|
# `<hostname>/<URL-path>`.
|
|
350
382
|
#
|
|
351
383
|
# * If the specified size of an object does not match the actual size of the
|
|
352
|
-
#
|
|
384
|
+
# object fetched, the object is not transferred.
|
|
353
385
|
#
|
|
354
386
|
# * If the specified MD5 does not match the MD5 computed from the transferred
|
|
355
|
-
#
|
|
387
|
+
# bytes, the object transfer fails.
|
|
356
388
|
#
|
|
357
389
|
# * Ensure that each URL you specify is publicly accessible. For
|
|
358
|
-
#
|
|
359
|
-
#
|
|
360
|
-
#
|
|
390
|
+
# example, in Cloud Storage you can
|
|
391
|
+
# [share an object publicly]
|
|
392
|
+
# (/storage/docs/cloud-console#_sharingdata) and get a link to it.
|
|
361
393
|
#
|
|
362
394
|
# * Storage Transfer Service obeys `robots.txt` rules and requires the source
|
|
363
|
-
#
|
|
364
|
-
#
|
|
395
|
+
# HTTP server to support `Range` requests and to return a `Content-Length`
|
|
396
|
+
# header in each response.
|
|
365
397
|
#
|
|
366
398
|
# * {::Google::Cloud::StorageTransfer::V1::ObjectConditions ObjectConditions} have no
|
|
367
399
|
# effect when filtering objects to transfer.
|
|
@@ -384,6 +416,18 @@ module Google
|
|
|
384
416
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
385
417
|
end
|
|
386
418
|
|
|
419
|
+
# An HdfsData resource specifies a path within an HDFS entity (e.g. a cluster).
|
|
420
|
+
# All cluster-specific settings, such as namenodes and ports, are configured on
|
|
421
|
+
# the transfer agents servicing requests, so HdfsData only contains the root
|
|
422
|
+
# path to the data in our transfer.
|
|
423
|
+
# @!attribute [rw] path
|
|
424
|
+
# @return [::String]
|
|
425
|
+
# Root path to transfer files.
|
|
426
|
+
class HdfsData
|
|
427
|
+
include ::Google::Protobuf::MessageExts
|
|
428
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
429
|
+
end
|
|
430
|
+
|
|
387
431
|
# An AwsS3CompatibleData resource.
|
|
388
432
|
# @!attribute [rw] bucket_name
|
|
389
433
|
# @return [::String]
|
|
@@ -487,7 +531,7 @@ module Google
|
|
|
487
531
|
end
|
|
488
532
|
end
|
|
489
533
|
|
|
490
|
-
# Represents an
|
|
534
|
+
# Represents an agent pool.
|
|
491
535
|
# @!attribute [rw] name
|
|
492
536
|
# @return [::String]
|
|
493
537
|
# Required. Specifies a unique string that identifies the agent pool.
|
|
@@ -522,8 +566,8 @@ module Google
|
|
|
522
566
|
# Default value. This value is unused.
|
|
523
567
|
STATE_UNSPECIFIED = 0
|
|
524
568
|
|
|
525
|
-
# This is an initialization state. During this stage,
|
|
526
|
-
#
|
|
569
|
+
# This is an initialization state. During this stage, resources are
|
|
570
|
+
# allocated for the AgentPool.
|
|
527
571
|
CREATING = 1
|
|
528
572
|
|
|
529
573
|
# Determines that the AgentPool is created for use. At this state, Agents
|
|
@@ -594,27 +638,48 @@ module Google
|
|
|
594
638
|
# @!attribute [rw] gcs_data_sink
|
|
595
639
|
# @return [::Google::Cloud::StorageTransfer::V1::GcsData]
|
|
596
640
|
# A Cloud Storage data sink.
|
|
641
|
+
#
|
|
642
|
+
# Note: The following fields are mutually exclusive: `gcs_data_sink`, `posix_data_sink`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
597
643
|
# @!attribute [rw] posix_data_sink
|
|
598
644
|
# @return [::Google::Cloud::StorageTransfer::V1::PosixFilesystem]
|
|
599
645
|
# A POSIX Filesystem data sink.
|
|
646
|
+
#
|
|
647
|
+
# Note: The following fields are mutually exclusive: `posix_data_sink`, `gcs_data_sink`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
600
648
|
# @!attribute [rw] gcs_data_source
|
|
601
649
|
# @return [::Google::Cloud::StorageTransfer::V1::GcsData]
|
|
602
650
|
# A Cloud Storage data source.
|
|
651
|
+
#
|
|
652
|
+
# Note: The following fields are mutually exclusive: `gcs_data_source`, `aws_s3_data_source`, `http_data_source`, `posix_data_source`, `azure_blob_storage_data_source`, `aws_s3_compatible_data_source`, `hdfs_data_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
603
653
|
# @!attribute [rw] aws_s3_data_source
|
|
604
654
|
# @return [::Google::Cloud::StorageTransfer::V1::AwsS3Data]
|
|
605
655
|
# An AWS S3 data source.
|
|
656
|
+
#
|
|
657
|
+
# Note: The following fields are mutually exclusive: `aws_s3_data_source`, `gcs_data_source`, `http_data_source`, `posix_data_source`, `azure_blob_storage_data_source`, `aws_s3_compatible_data_source`, `hdfs_data_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
606
658
|
# @!attribute [rw] http_data_source
|
|
607
659
|
# @return [::Google::Cloud::StorageTransfer::V1::HttpData]
|
|
608
660
|
# An HTTP URL data source.
|
|
661
|
+
#
|
|
662
|
+
# Note: The following fields are mutually exclusive: `http_data_source`, `gcs_data_source`, `aws_s3_data_source`, `posix_data_source`, `azure_blob_storage_data_source`, `aws_s3_compatible_data_source`, `hdfs_data_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
609
663
|
# @!attribute [rw] posix_data_source
|
|
610
664
|
# @return [::Google::Cloud::StorageTransfer::V1::PosixFilesystem]
|
|
611
665
|
# A POSIX Filesystem data source.
|
|
666
|
+
#
|
|
667
|
+
# Note: The following fields are mutually exclusive: `posix_data_source`, `gcs_data_source`, `aws_s3_data_source`, `http_data_source`, `azure_blob_storage_data_source`, `aws_s3_compatible_data_source`, `hdfs_data_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
612
668
|
# @!attribute [rw] azure_blob_storage_data_source
|
|
613
669
|
# @return [::Google::Cloud::StorageTransfer::V1::AzureBlobStorageData]
|
|
614
670
|
# An Azure Blob Storage data source.
|
|
671
|
+
#
|
|
672
|
+
# Note: The following fields are mutually exclusive: `azure_blob_storage_data_source`, `gcs_data_source`, `aws_s3_data_source`, `http_data_source`, `posix_data_source`, `aws_s3_compatible_data_source`, `hdfs_data_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
615
673
|
# @!attribute [rw] aws_s3_compatible_data_source
|
|
616
674
|
# @return [::Google::Cloud::StorageTransfer::V1::AwsS3CompatibleData]
|
|
617
675
|
# An AWS S3 compatible data source.
|
|
676
|
+
#
|
|
677
|
+
# Note: The following fields are mutually exclusive: `aws_s3_compatible_data_source`, `gcs_data_source`, `aws_s3_data_source`, `http_data_source`, `posix_data_source`, `azure_blob_storage_data_source`, `hdfs_data_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
678
|
+
# @!attribute [rw] hdfs_data_source
|
|
679
|
+
# @return [::Google::Cloud::StorageTransfer::V1::HdfsData]
|
|
680
|
+
# An HDFS cluster data source.
|
|
681
|
+
#
|
|
682
|
+
# Note: The following fields are mutually exclusive: `hdfs_data_source`, `gcs_data_source`, `aws_s3_data_source`, `http_data_source`, `posix_data_source`, `azure_blob_storage_data_source`, `aws_s3_compatible_data_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
618
683
|
# @!attribute [rw] gcs_intermediate_data_location
|
|
619
684
|
# @return [::Google::Cloud::StorageTransfer::V1::GcsData]
|
|
620
685
|
# For transfers between file systems, specifies a Cloud Storage bucket
|
|
@@ -653,6 +718,32 @@ module Google
|
|
|
653
718
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
654
719
|
end
|
|
655
720
|
|
|
721
|
+
# Specifies the configuration for a cross-bucket replication job. Cross-bucket
|
|
722
|
+
# replication copies new or updated objects from a source Cloud Storage bucket
|
|
723
|
+
# to a destination Cloud Storage bucket. Existing objects in the source bucket
|
|
724
|
+
# are not copied by a new cross-bucket replication job.
|
|
725
|
+
# @!attribute [rw] gcs_data_source
|
|
726
|
+
# @return [::Google::Cloud::StorageTransfer::V1::GcsData]
|
|
727
|
+
# The Cloud Storage bucket from which to replicate objects.
|
|
728
|
+
# @!attribute [rw] gcs_data_sink
|
|
729
|
+
# @return [::Google::Cloud::StorageTransfer::V1::GcsData]
|
|
730
|
+
# The Cloud Storage bucket to which to replicate objects.
|
|
731
|
+
# @!attribute [rw] object_conditions
|
|
732
|
+
# @return [::Google::Cloud::StorageTransfer::V1::ObjectConditions]
|
|
733
|
+
# Object conditions that determine which objects are transferred. For
|
|
734
|
+
# replication jobs, only `include_prefixes` and `exclude_prefixes` are
|
|
735
|
+
# supported.
|
|
736
|
+
# @!attribute [rw] transfer_options
|
|
737
|
+
# @return [::Google::Cloud::StorageTransfer::V1::TransferOptions]
|
|
738
|
+
# Specifies the metadata options to be applied during replication.
|
|
739
|
+
# Delete options are not supported. If a delete option is specified, the
|
|
740
|
+
# request fails with an {::Google::Rpc::Code::INVALID_ARGUMENT INVALID_ARGUMENT}
|
|
741
|
+
# error.
|
|
742
|
+
class ReplicationSpec
|
|
743
|
+
include ::Google::Protobuf::MessageExts
|
|
744
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
745
|
+
end
|
|
746
|
+
|
|
656
747
|
# Specifies the metadata options for running a transfer.
|
|
657
748
|
# @!attribute [rw] symlink
|
|
658
749
|
# @return [::Google::Cloud::StorageTransfer::V1::MetadataOptions::Symlink]
|
|
@@ -699,9 +790,10 @@ module Google
|
|
|
699
790
|
# @!attribute [rw] time_created
|
|
700
791
|
# @return [::Google::Cloud::StorageTransfer::V1::MetadataOptions::TimeCreated]
|
|
701
792
|
# Specifies how each object's `timeCreated` metadata is preserved for
|
|
702
|
-
# transfers
|
|
703
|
-
# default behavior is the same as
|
|
793
|
+
# transfers. If unspecified, the default behavior is the same as
|
|
704
794
|
# {::Google::Cloud::StorageTransfer::V1::MetadataOptions::TimeCreated::TIME_CREATED_SKIP TIME_CREATED_SKIP}.
|
|
795
|
+
# This behavior is supported for transfers to Cloud Storage buckets from
|
|
796
|
+
# Cloud Storage, Amazon S3, S3-compatible storage, and Azure sources.
|
|
705
797
|
class MetadataOptions
|
|
706
798
|
include ::Google::Protobuf::MessageExts
|
|
707
799
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -832,10 +924,10 @@ module Google
|
|
|
832
924
|
# Do not preserve the `timeCreated` metadata from the source object.
|
|
833
925
|
TIME_CREATED_SKIP = 1
|
|
834
926
|
|
|
835
|
-
# Preserves the source object's `timeCreated` metadata in
|
|
836
|
-
# field in the destination object. Note that any value
|
|
837
|
-
# source object's `customTime` field will not be propagated
|
|
838
|
-
# destination object.
|
|
927
|
+
# Preserves the source object's `timeCreated` or `lastModified` metadata in
|
|
928
|
+
# the `customTime` field in the destination object. Note that any value
|
|
929
|
+
# stored in the source object's `customTime` field will not be propagated
|
|
930
|
+
# to the destination object.
|
|
839
931
|
TIME_CREATED_PRESERVE_AS_CUSTOM_TIME = 2
|
|
840
932
|
end
|
|
841
933
|
end
|
|
@@ -991,10 +1083,12 @@ module Google
|
|
|
991
1083
|
# @!attribute [rw] transfer_spec
|
|
992
1084
|
# @return [::Google::Cloud::StorageTransfer::V1::TransferSpec]
|
|
993
1085
|
# Transfer specification.
|
|
1086
|
+
# @!attribute [rw] replication_spec
|
|
1087
|
+
# @return [::Google::Cloud::StorageTransfer::V1::ReplicationSpec]
|
|
1088
|
+
# Replication specification.
|
|
994
1089
|
# @!attribute [rw] notification_config
|
|
995
1090
|
# @return [::Google::Cloud::StorageTransfer::V1::NotificationConfig]
|
|
996
|
-
# Notification configuration.
|
|
997
|
-
# PosixFilesystem.
|
|
1091
|
+
# Notification configuration.
|
|
998
1092
|
# @!attribute [rw] logging_config
|
|
999
1093
|
# @return [::Google::Cloud::StorageTransfer::V1::LoggingConfig]
|
|
1000
1094
|
# Logging configuration.
|
|
@@ -1255,32 +1349,25 @@ module Google
|
|
|
1255
1349
|
|
|
1256
1350
|
# Specifies the logging behavior for transfer operations.
|
|
1257
1351
|
#
|
|
1258
|
-
#
|
|
1352
|
+
# Logs can be sent to Cloud Logging for all transfer types. See
|
|
1259
1353
|
# [Read transfer
|
|
1260
1354
|
# logs](https://cloud.google.com/storage-transfer/docs/read-transfer-logs) for
|
|
1261
1355
|
# details.
|
|
1262
|
-
#
|
|
1263
|
-
# For transfers to or from a POSIX file system, logs are stored in the
|
|
1264
|
-
# Cloud Storage bucket that is the source or sink of the transfer.
|
|
1265
|
-
# See [Managing Transfer for on-premises jobs]
|
|
1266
|
-
# (https://cloud.google.com/storage-transfer/docs/managing-on-prem-jobs#viewing-logs)
|
|
1267
|
-
# for details.
|
|
1268
1356
|
# @!attribute [rw] log_actions
|
|
1269
1357
|
# @return [::Array<::Google::Cloud::StorageTransfer::V1::LoggingConfig::LoggableAction>]
|
|
1270
1358
|
# Specifies the actions to be logged. If empty, no logs are generated.
|
|
1271
|
-
# Not supported for transfers with PosixFilesystem data sources; use
|
|
1272
|
-
# {::Google::Cloud::StorageTransfer::V1::LoggingConfig#enable_onprem_gcs_transfer_logs enable_onprem_gcs_transfer_logs}
|
|
1273
|
-
# instead.
|
|
1274
1359
|
# @!attribute [rw] log_action_states
|
|
1275
1360
|
# @return [::Array<::Google::Cloud::StorageTransfer::V1::LoggingConfig::LoggableActionState>]
|
|
1276
1361
|
# States in which `log_actions` are logged. If empty, no logs are generated.
|
|
1277
|
-
# Not supported for transfers with PosixFilesystem data sources; use
|
|
1278
|
-
# {::Google::Cloud::StorageTransfer::V1::LoggingConfig#enable_onprem_gcs_transfer_logs enable_onprem_gcs_transfer_logs}
|
|
1279
|
-
# instead.
|
|
1280
1362
|
# @!attribute [rw] enable_onprem_gcs_transfer_logs
|
|
1281
1363
|
# @return [::Boolean]
|
|
1282
|
-
# For
|
|
1283
|
-
#
|
|
1364
|
+
# For PosixFilesystem transfers, enables
|
|
1365
|
+
# [file system transfer
|
|
1366
|
+
# logs](https://cloud.google.com/storage-transfer/docs/on-prem-transfer-log-format)
|
|
1367
|
+
# instead of, or in addition to, Cloud Logging.
|
|
1368
|
+
#
|
|
1369
|
+
# This option ignores [LoggableAction] and [LoggableActionState]. If these
|
|
1370
|
+
# are set, Cloud Logging will also be enabled for this transfer.
|
|
1284
1371
|
class LoggingConfig
|
|
1285
1372
|
include ::Google::Protobuf::MessageExts
|
|
1286
1373
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-storage_transfer-v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 1.4.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: bin
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 2025-01-29 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
12
|
- !ruby/object:Gem::Dependency
|
|
14
13
|
name: gapic-common
|
|
@@ -16,7 +15,7 @@ dependencies:
|
|
|
16
15
|
requirements:
|
|
17
16
|
- - ">="
|
|
18
17
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: 0.
|
|
18
|
+
version: 0.25.0
|
|
20
19
|
- - "<"
|
|
21
20
|
- !ruby/object:Gem::Version
|
|
22
21
|
version: 2.a
|
|
@@ -26,7 +25,7 @@ dependencies:
|
|
|
26
25
|
requirements:
|
|
27
26
|
- - ">="
|
|
28
27
|
- !ruby/object:Gem::Version
|
|
29
|
-
version: 0.
|
|
28
|
+
version: 0.25.0
|
|
30
29
|
- - "<"
|
|
31
30
|
- !ruby/object:Gem::Version
|
|
32
31
|
version: 2.a
|
|
@@ -44,118 +43,6 @@ dependencies:
|
|
|
44
43
|
- - "~>"
|
|
45
44
|
- !ruby/object:Gem::Version
|
|
46
45
|
version: '1.0'
|
|
47
|
-
- !ruby/object:Gem::Dependency
|
|
48
|
-
name: google-style
|
|
49
|
-
requirement: !ruby/object:Gem::Requirement
|
|
50
|
-
requirements:
|
|
51
|
-
- - "~>"
|
|
52
|
-
- !ruby/object:Gem::Version
|
|
53
|
-
version: 1.26.3
|
|
54
|
-
type: :development
|
|
55
|
-
prerelease: false
|
|
56
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
57
|
-
requirements:
|
|
58
|
-
- - "~>"
|
|
59
|
-
- !ruby/object:Gem::Version
|
|
60
|
-
version: 1.26.3
|
|
61
|
-
- !ruby/object:Gem::Dependency
|
|
62
|
-
name: minitest
|
|
63
|
-
requirement: !ruby/object:Gem::Requirement
|
|
64
|
-
requirements:
|
|
65
|
-
- - "~>"
|
|
66
|
-
- !ruby/object:Gem::Version
|
|
67
|
-
version: '5.16'
|
|
68
|
-
type: :development
|
|
69
|
-
prerelease: false
|
|
70
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
71
|
-
requirements:
|
|
72
|
-
- - "~>"
|
|
73
|
-
- !ruby/object:Gem::Version
|
|
74
|
-
version: '5.16'
|
|
75
|
-
- !ruby/object:Gem::Dependency
|
|
76
|
-
name: minitest-focus
|
|
77
|
-
requirement: !ruby/object:Gem::Requirement
|
|
78
|
-
requirements:
|
|
79
|
-
- - "~>"
|
|
80
|
-
- !ruby/object:Gem::Version
|
|
81
|
-
version: '1.1'
|
|
82
|
-
type: :development
|
|
83
|
-
prerelease: false
|
|
84
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
85
|
-
requirements:
|
|
86
|
-
- - "~>"
|
|
87
|
-
- !ruby/object:Gem::Version
|
|
88
|
-
version: '1.1'
|
|
89
|
-
- !ruby/object:Gem::Dependency
|
|
90
|
-
name: minitest-rg
|
|
91
|
-
requirement: !ruby/object:Gem::Requirement
|
|
92
|
-
requirements:
|
|
93
|
-
- - "~>"
|
|
94
|
-
- !ruby/object:Gem::Version
|
|
95
|
-
version: '5.2'
|
|
96
|
-
type: :development
|
|
97
|
-
prerelease: false
|
|
98
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
99
|
-
requirements:
|
|
100
|
-
- - "~>"
|
|
101
|
-
- !ruby/object:Gem::Version
|
|
102
|
-
version: '5.2'
|
|
103
|
-
- !ruby/object:Gem::Dependency
|
|
104
|
-
name: rake
|
|
105
|
-
requirement: !ruby/object:Gem::Requirement
|
|
106
|
-
requirements:
|
|
107
|
-
- - ">="
|
|
108
|
-
- !ruby/object:Gem::Version
|
|
109
|
-
version: '13.0'
|
|
110
|
-
type: :development
|
|
111
|
-
prerelease: false
|
|
112
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
113
|
-
requirements:
|
|
114
|
-
- - ">="
|
|
115
|
-
- !ruby/object:Gem::Version
|
|
116
|
-
version: '13.0'
|
|
117
|
-
- !ruby/object:Gem::Dependency
|
|
118
|
-
name: redcarpet
|
|
119
|
-
requirement: !ruby/object:Gem::Requirement
|
|
120
|
-
requirements:
|
|
121
|
-
- - "~>"
|
|
122
|
-
- !ruby/object:Gem::Version
|
|
123
|
-
version: '3.0'
|
|
124
|
-
type: :development
|
|
125
|
-
prerelease: false
|
|
126
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
127
|
-
requirements:
|
|
128
|
-
- - "~>"
|
|
129
|
-
- !ruby/object:Gem::Version
|
|
130
|
-
version: '3.0'
|
|
131
|
-
- !ruby/object:Gem::Dependency
|
|
132
|
-
name: simplecov
|
|
133
|
-
requirement: !ruby/object:Gem::Requirement
|
|
134
|
-
requirements:
|
|
135
|
-
- - "~>"
|
|
136
|
-
- !ruby/object:Gem::Version
|
|
137
|
-
version: '0.18'
|
|
138
|
-
type: :development
|
|
139
|
-
prerelease: false
|
|
140
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
141
|
-
requirements:
|
|
142
|
-
- - "~>"
|
|
143
|
-
- !ruby/object:Gem::Version
|
|
144
|
-
version: '0.18'
|
|
145
|
-
- !ruby/object:Gem::Dependency
|
|
146
|
-
name: yard
|
|
147
|
-
requirement: !ruby/object:Gem::Requirement
|
|
148
|
-
requirements:
|
|
149
|
-
- - "~>"
|
|
150
|
-
- !ruby/object:Gem::Version
|
|
151
|
-
version: '0.9'
|
|
152
|
-
type: :development
|
|
153
|
-
prerelease: false
|
|
154
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
155
|
-
requirements:
|
|
156
|
-
- - "~>"
|
|
157
|
-
- !ruby/object:Gem::Version
|
|
158
|
-
version: '0.9'
|
|
159
46
|
description: Storage Transfer Service allows you to quickly import online data into
|
|
160
47
|
Cloud Storage. You can also set up a repeating schedule for transferring data, as
|
|
161
48
|
well as transfer data within Cloud Storage, from one bucket to another. Note that
|
|
@@ -208,7 +95,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
|
|
|
208
95
|
licenses:
|
|
209
96
|
- Apache-2.0
|
|
210
97
|
metadata: {}
|
|
211
|
-
post_install_message:
|
|
212
98
|
rdoc_options: []
|
|
213
99
|
require_paths:
|
|
214
100
|
- lib
|
|
@@ -216,15 +102,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
216
102
|
requirements:
|
|
217
103
|
- - ">="
|
|
218
104
|
- !ruby/object:Gem::Version
|
|
219
|
-
version: '
|
|
105
|
+
version: '3.0'
|
|
220
106
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
221
107
|
requirements:
|
|
222
108
|
- - ">="
|
|
223
109
|
- !ruby/object:Gem::Version
|
|
224
110
|
version: '0'
|
|
225
111
|
requirements: []
|
|
226
|
-
rubygems_version: 3.
|
|
227
|
-
signing_key:
|
|
112
|
+
rubygems_version: 3.6.2
|
|
228
113
|
specification_version: 4
|
|
229
114
|
summary: Transfers data from external data sources to a Google Cloud Storage bucket
|
|
230
115
|
or between Google Cloud Storage buckets.
|