google-cloud-storage_transfer-v1 0.10.0 → 1.1.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 78497fbaf08bbab285715d89f337e5d8a81d6f31f85dc3c48ba79a55d80dd589
4
- data.tar.gz: f5c5c70c794cfe48dc77255796fd5ac73377bcaf5ca85e64a8e4bb48f3cae188
3
+ metadata.gz: 40246c33482085fcba2c60fba09015372d472fea23404441b3dca96a2e430ad3
4
+ data.tar.gz: 4314bcb73cf06235833acdf5046fef8ee12e04750c5206297e3d7356e6130c6b
5
5
  SHA512:
6
- metadata.gz: 01aa886e9f71da2dcfd4ad2eb45f4ac2a7d7d64c89696f4494d624b39495ff2fd70c2a636ea720b0a2e7be798b749eb5910402f36ebf2f4e79ab2e21a57fd24d
7
- data.tar.gz: 61a8366db2b7c77f21e094c3518126be4bddfde8f8c15cf78f4f7738df46786d0e6d37fc8cd5c36d3a07e726c83b71ef7c4811cc2ef7b594c8eb92a77847131f
6
+ metadata.gz: a3bd64a1cd5e697cdf3e9c81bf9474094710886e42e32d172e30e27ce24d390d0e4f8247f29a29bf541f7b3dda0a72d2da374584c9bdbcc63a30b13e41aa4cb0
7
+ data.tar.gz: 04b3cdf9999c5e74a6769230f0eada6556e781d667bd0823ba78d314689be5149339d4664b12bc85c1cec6a1444aae617ad6df253b26a24e5727fcd6fc7e35d4
@@ -32,6 +32,9 @@ module Google
32
32
  # source external to Google to a Cloud Storage bucket.
33
33
  #
34
34
  class Client
35
+ # @private
36
+ API_VERSION = ""
37
+
35
38
  # @private
36
39
  DEFAULT_ENDPOINT_TEMPLATE = "storagetransfer.$UNIVERSE_DOMAIN$"
37
40
 
@@ -246,10 +249,11 @@ module Google
246
249
  # Customize the options with defaults
247
250
  metadata = @config.rpcs.get_google_service_account.metadata.to_h
248
251
 
249
- # Set x-goog-api-client and x-goog-user-project headers
252
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
250
253
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
251
254
  lib_name: @config.lib_name, lib_version: @config.lib_version,
252
255
  gapic_version: ::Google::Cloud::StorageTransfer::V1::VERSION
256
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
253
257
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
254
258
 
255
259
  header_params = {}
@@ -331,10 +335,11 @@ module Google
331
335
  # Customize the options with defaults
332
336
  metadata = @config.rpcs.create_transfer_job.metadata.to_h
333
337
 
334
- # Set x-goog-api-client and x-goog-user-project headers
338
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
335
339
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
336
340
  lib_name: @config.lib_name, lib_version: @config.lib_version,
337
341
  gapic_version: ::Google::Cloud::StorageTransfer::V1::VERSION
342
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
338
343
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
339
344
 
340
345
  options.apply_defaults timeout: @config.rpcs.create_transfer_job.timeout,
@@ -443,10 +448,11 @@ module Google
443
448
  # Customize the options with defaults
444
449
  metadata = @config.rpcs.update_transfer_job.metadata.to_h
445
450
 
446
- # Set x-goog-api-client and x-goog-user-project headers
451
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
447
452
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
448
453
  lib_name: @config.lib_name, lib_version: @config.lib_version,
449
454
  gapic_version: ::Google::Cloud::StorageTransfer::V1::VERSION
455
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
450
456
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
451
457
 
452
458
  header_params = {}
@@ -531,10 +537,11 @@ module Google
531
537
  # Customize the options with defaults
532
538
  metadata = @config.rpcs.get_transfer_job.metadata.to_h
533
539
 
534
- # Set x-goog-api-client and x-goog-user-project headers
540
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
535
541
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
536
542
  lib_name: @config.lib_name, lib_version: @config.lib_version,
537
543
  gapic_version: ::Google::Cloud::StorageTransfer::V1::VERSION
544
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
538
545
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
539
546
 
540
547
  header_params = {}
@@ -635,10 +642,11 @@ module Google
635
642
  # Customize the options with defaults
636
643
  metadata = @config.rpcs.list_transfer_jobs.metadata.to_h
637
644
 
638
- # Set x-goog-api-client and x-goog-user-project headers
645
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
639
646
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
640
647
  lib_name: @config.lib_name, lib_version: @config.lib_version,
641
648
  gapic_version: ::Google::Cloud::StorageTransfer::V1::VERSION
649
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
642
650
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
643
651
 
644
652
  options.apply_defaults timeout: @config.rpcs.list_transfer_jobs.timeout,
@@ -713,10 +721,11 @@ module Google
713
721
  # Customize the options with defaults
714
722
  metadata = @config.rpcs.pause_transfer_operation.metadata.to_h
715
723
 
716
- # Set x-goog-api-client and x-goog-user-project headers
724
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
717
725
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
718
726
  lib_name: @config.lib_name, lib_version: @config.lib_version,
719
727
  gapic_version: ::Google::Cloud::StorageTransfer::V1::VERSION
728
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
720
729
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
721
730
 
722
731
  header_params = {}
@@ -798,10 +807,11 @@ module Google
798
807
  # Customize the options with defaults
799
808
  metadata = @config.rpcs.resume_transfer_operation.metadata.to_h
800
809
 
801
- # Set x-goog-api-client and x-goog-user-project headers
810
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
802
811
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
803
812
  lib_name: @config.lib_name, lib_version: @config.lib_version,
804
813
  gapic_version: ::Google::Cloud::StorageTransfer::V1::VERSION
814
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
805
815
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
806
816
 
807
817
  header_params = {}
@@ -896,10 +906,11 @@ module Google
896
906
  # Customize the options with defaults
897
907
  metadata = @config.rpcs.run_transfer_job.metadata.to_h
898
908
 
899
- # Set x-goog-api-client and x-goog-user-project headers
909
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
900
910
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
901
911
  lib_name: @config.lib_name, lib_version: @config.lib_version,
902
912
  gapic_version: ::Google::Cloud::StorageTransfer::V1::VERSION
913
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
903
914
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
904
915
 
905
916
  header_params = {}
@@ -986,10 +997,11 @@ module Google
986
997
  # Customize the options with defaults
987
998
  metadata = @config.rpcs.delete_transfer_job.metadata.to_h
988
999
 
989
- # Set x-goog-api-client and x-goog-user-project headers
1000
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
990
1001
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
991
1002
  lib_name: @config.lib_name, lib_version: @config.lib_version,
992
1003
  gapic_version: ::Google::Cloud::StorageTransfer::V1::VERSION
1004
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
993
1005
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
994
1006
 
995
1007
  header_params = {}
@@ -1088,10 +1100,11 @@ module Google
1088
1100
  # Customize the options with defaults
1089
1101
  metadata = @config.rpcs.create_agent_pool.metadata.to_h
1090
1102
 
1091
- # Set x-goog-api-client and x-goog-user-project headers
1103
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1092
1104
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1093
1105
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1094
1106
  gapic_version: ::Google::Cloud::StorageTransfer::V1::VERSION
1107
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1095
1108
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1096
1109
 
1097
1110
  header_params = {}
@@ -1191,10 +1204,11 @@ module Google
1191
1204
  # Customize the options with defaults
1192
1205
  metadata = @config.rpcs.update_agent_pool.metadata.to_h
1193
1206
 
1194
- # Set x-goog-api-client and x-goog-user-project headers
1207
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1195
1208
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1196
1209
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1197
1210
  gapic_version: ::Google::Cloud::StorageTransfer::V1::VERSION
1211
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1198
1212
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1199
1213
 
1200
1214
  header_params = {}
@@ -1276,10 +1290,11 @@ module Google
1276
1290
  # Customize the options with defaults
1277
1291
  metadata = @config.rpcs.get_agent_pool.metadata.to_h
1278
1292
 
1279
- # Set x-goog-api-client and x-goog-user-project headers
1293
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1280
1294
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1281
1295
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1282
1296
  gapic_version: ::Google::Cloud::StorageTransfer::V1::VERSION
1297
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1283
1298
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1284
1299
 
1285
1300
  header_params = {}
@@ -1378,10 +1393,11 @@ module Google
1378
1393
  # Customize the options with defaults
1379
1394
  metadata = @config.rpcs.list_agent_pools.metadata.to_h
1380
1395
 
1381
- # Set x-goog-api-client and x-goog-user-project headers
1396
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1382
1397
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1383
1398
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1384
1399
  gapic_version: ::Google::Cloud::StorageTransfer::V1::VERSION
1400
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1385
1401
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1386
1402
 
1387
1403
  header_params = {}
@@ -1464,10 +1480,11 @@ module Google
1464
1480
  # Customize the options with defaults
1465
1481
  metadata = @config.rpcs.delete_agent_pool.metadata.to_h
1466
1482
 
1467
- # Set x-goog-api-client and x-goog-user-project headers
1483
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1468
1484
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1469
1485
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1470
1486
  gapic_version: ::Google::Cloud::StorageTransfer::V1::VERSION
1487
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1471
1488
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1472
1489
 
1473
1490
  header_params = {}
@@ -26,6 +26,9 @@ module Google
26
26
  module StorageTransferService
27
27
  # Service that implements Longrunning Operations API.
28
28
  class Operations
29
+ # @private
30
+ API_VERSION = ""
31
+
29
32
  # @private
30
33
  DEFAULT_ENDPOINT_TEMPLATE = "storagetransfer.$UNIVERSE_DOMAIN$"
31
34
 
@@ -191,10 +194,11 @@ module Google
191
194
  # Customize the options with defaults
192
195
  metadata = @config.rpcs.list_operations.metadata.to_h
193
196
 
194
- # Set x-goog-api-client and x-goog-user-project headers
197
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
195
198
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
196
199
  lib_name: @config.lib_name, lib_version: @config.lib_version,
197
200
  gapic_version: ::Google::Cloud::StorageTransfer::V1::VERSION
201
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
198
202
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
199
203
 
200
204
  header_params = {}
@@ -287,10 +291,11 @@ module Google
287
291
  # Customize the options with defaults
288
292
  metadata = @config.rpcs.get_operation.metadata.to_h
289
293
 
290
- # Set x-goog-api-client and x-goog-user-project headers
294
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
291
295
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
292
296
  lib_name: @config.lib_name, lib_version: @config.lib_version,
293
297
  gapic_version: ::Google::Cloud::StorageTransfer::V1::VERSION
298
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
294
299
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
295
300
 
296
301
  header_params = {}
@@ -376,10 +381,11 @@ module Google
376
381
  # Customize the options with defaults
377
382
  metadata = @config.rpcs.delete_operation.metadata.to_h
378
383
 
379
- # Set x-goog-api-client and x-goog-user-project headers
384
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
380
385
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
381
386
  lib_name: @config.lib_name, lib_version: @config.lib_version,
382
387
  gapic_version: ::Google::Cloud::StorageTransfer::V1::VERSION
388
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
383
389
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
384
390
 
385
391
  header_params = {}
@@ -470,10 +476,11 @@ module Google
470
476
  # Customize the options with defaults
471
477
  metadata = @config.rpcs.cancel_operation.metadata.to_h
472
478
 
473
- # Set x-goog-api-client and x-goog-user-project headers
479
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
474
480
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
475
481
  lib_name: @config.lib_name, lib_version: @config.lib_version,
476
482
  gapic_version: ::Google::Cloud::StorageTransfer::V1::VERSION
483
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
477
484
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
478
485
 
479
486
  header_params = {}
@@ -574,10 +581,11 @@ module Google
574
581
  # Customize the options with defaults
575
582
  metadata = @config.rpcs.wait_operation.metadata.to_h
576
583
 
577
- # Set x-goog-api-client and x-goog-user-project headers
584
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
578
585
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
579
586
  lib_name: @config.lib_name, lib_version: @config.lib_version,
580
587
  gapic_version: ::Google::Cloud::StorageTransfer::V1::VERSION
588
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
581
589
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
582
590
 
583
591
  options.apply_defaults timeout: @config.rpcs.wait_operation.timeout,
@@ -34,6 +34,9 @@ module Google
34
34
  # source external to Google to a Cloud Storage bucket.
35
35
  #
36
36
  class Client
37
+ # @private
38
+ API_VERSION = ""
39
+
37
40
  # @private
38
41
  DEFAULT_ENDPOINT_TEMPLATE = "storagetransfer.$UNIVERSE_DOMAIN$"
39
42
 
@@ -238,12 +241,13 @@ module Google
238
241
  # Customize the options with defaults
239
242
  call_metadata = @config.rpcs.get_google_service_account.metadata.to_h
240
243
 
241
- # Set x-goog-api-client and x-goog-user-project headers
244
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
242
245
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
243
246
  lib_name: @config.lib_name, lib_version: @config.lib_version,
244
247
  gapic_version: ::Google::Cloud::StorageTransfer::V1::VERSION,
245
248
  transports_version_send: [:rest]
246
249
 
250
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
247
251
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
248
252
 
249
253
  options.apply_defaults timeout: @config.rpcs.get_google_service_account.timeout,
@@ -316,12 +320,13 @@ module Google
316
320
  # Customize the options with defaults
317
321
  call_metadata = @config.rpcs.create_transfer_job.metadata.to_h
318
322
 
319
- # Set x-goog-api-client and x-goog-user-project headers
323
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
320
324
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
321
325
  lib_name: @config.lib_name, lib_version: @config.lib_version,
322
326
  gapic_version: ::Google::Cloud::StorageTransfer::V1::VERSION,
323
327
  transports_version_send: [:rest]
324
328
 
329
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
325
330
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
326
331
 
327
332
  options.apply_defaults timeout: @config.rpcs.create_transfer_job.timeout,
@@ -429,12 +434,13 @@ module Google
429
434
  # Customize the options with defaults
430
435
  call_metadata = @config.rpcs.update_transfer_job.metadata.to_h
431
436
 
432
- # Set x-goog-api-client and x-goog-user-project headers
437
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
433
438
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
434
439
  lib_name: @config.lib_name, lib_version: @config.lib_version,
435
440
  gapic_version: ::Google::Cloud::StorageTransfer::V1::VERSION,
436
441
  transports_version_send: [:rest]
437
442
 
443
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
438
444
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
439
445
 
440
446
  options.apply_defaults timeout: @config.rpcs.update_transfer_job.timeout,
@@ -510,12 +516,13 @@ module Google
510
516
  # Customize the options with defaults
511
517
  call_metadata = @config.rpcs.get_transfer_job.metadata.to_h
512
518
 
513
- # Set x-goog-api-client and x-goog-user-project headers
519
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
514
520
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
515
521
  lib_name: @config.lib_name, lib_version: @config.lib_version,
516
522
  gapic_version: ::Google::Cloud::StorageTransfer::V1::VERSION,
517
523
  transports_version_send: [:rest]
518
524
 
525
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
519
526
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
520
527
 
521
528
  options.apply_defaults timeout: @config.rpcs.get_transfer_job.timeout,
@@ -607,12 +614,13 @@ module Google
607
614
  # Customize the options with defaults
608
615
  call_metadata = @config.rpcs.list_transfer_jobs.metadata.to_h
609
616
 
610
- # Set x-goog-api-client and x-goog-user-project headers
617
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
611
618
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
612
619
  lib_name: @config.lib_name, lib_version: @config.lib_version,
613
620
  gapic_version: ::Google::Cloud::StorageTransfer::V1::VERSION,
614
621
  transports_version_send: [:rest]
615
622
 
623
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
616
624
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
617
625
 
618
626
  options.apply_defaults timeout: @config.rpcs.list_transfer_jobs.timeout,
@@ -686,12 +694,13 @@ module Google
686
694
  # Customize the options with defaults
687
695
  call_metadata = @config.rpcs.pause_transfer_operation.metadata.to_h
688
696
 
689
- # Set x-goog-api-client and x-goog-user-project headers
697
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
690
698
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
691
699
  lib_name: @config.lib_name, lib_version: @config.lib_version,
692
700
  gapic_version: ::Google::Cloud::StorageTransfer::V1::VERSION,
693
701
  transports_version_send: [:rest]
694
702
 
703
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
695
704
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
696
705
 
697
706
  options.apply_defaults timeout: @config.rpcs.pause_transfer_operation.timeout,
@@ -764,12 +773,13 @@ module Google
764
773
  # Customize the options with defaults
765
774
  call_metadata = @config.rpcs.resume_transfer_operation.metadata.to_h
766
775
 
767
- # Set x-goog-api-client and x-goog-user-project headers
776
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
768
777
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
769
778
  lib_name: @config.lib_name, lib_version: @config.lib_version,
770
779
  gapic_version: ::Google::Cloud::StorageTransfer::V1::VERSION,
771
780
  transports_version_send: [:rest]
772
781
 
782
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
773
783
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
774
784
 
775
785
  options.apply_defaults timeout: @config.rpcs.resume_transfer_operation.timeout,
@@ -855,12 +865,13 @@ module Google
855
865
  # Customize the options with defaults
856
866
  call_metadata = @config.rpcs.run_transfer_job.metadata.to_h
857
867
 
858
- # Set x-goog-api-client and x-goog-user-project headers
868
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
859
869
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
860
870
  lib_name: @config.lib_name, lib_version: @config.lib_version,
861
871
  gapic_version: ::Google::Cloud::StorageTransfer::V1::VERSION,
862
872
  transports_version_send: [:rest]
863
873
 
874
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
864
875
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
865
876
 
866
877
  options.apply_defaults timeout: @config.rpcs.run_transfer_job.timeout,
@@ -938,12 +949,13 @@ module Google
938
949
  # Customize the options with defaults
939
950
  call_metadata = @config.rpcs.delete_transfer_job.metadata.to_h
940
951
 
941
- # Set x-goog-api-client and x-goog-user-project headers
952
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
942
953
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
943
954
  lib_name: @config.lib_name, lib_version: @config.lib_version,
944
955
  gapic_version: ::Google::Cloud::StorageTransfer::V1::VERSION,
945
956
  transports_version_send: [:rest]
946
957
 
958
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
947
959
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
948
960
 
949
961
  options.apply_defaults timeout: @config.rpcs.delete_transfer_job.timeout,
@@ -1033,12 +1045,13 @@ module Google
1033
1045
  # Customize the options with defaults
1034
1046
  call_metadata = @config.rpcs.create_agent_pool.metadata.to_h
1035
1047
 
1036
- # Set x-goog-api-client and x-goog-user-project headers
1048
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1037
1049
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1038
1050
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1039
1051
  gapic_version: ::Google::Cloud::StorageTransfer::V1::VERSION,
1040
1052
  transports_version_send: [:rest]
1041
1053
 
1054
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1042
1055
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1043
1056
 
1044
1057
  options.apply_defaults timeout: @config.rpcs.create_agent_pool.timeout,
@@ -1129,12 +1142,13 @@ module Google
1129
1142
  # Customize the options with defaults
1130
1143
  call_metadata = @config.rpcs.update_agent_pool.metadata.to_h
1131
1144
 
1132
- # Set x-goog-api-client and x-goog-user-project headers
1145
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1133
1146
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1134
1147
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1135
1148
  gapic_version: ::Google::Cloud::StorageTransfer::V1::VERSION,
1136
1149
  transports_version_send: [:rest]
1137
1150
 
1151
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1138
1152
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1139
1153
 
1140
1154
  options.apply_defaults timeout: @config.rpcs.update_agent_pool.timeout,
@@ -1207,12 +1221,13 @@ module Google
1207
1221
  # Customize the options with defaults
1208
1222
  call_metadata = @config.rpcs.get_agent_pool.metadata.to_h
1209
1223
 
1210
- # Set x-goog-api-client and x-goog-user-project headers
1224
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1211
1225
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1212
1226
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1213
1227
  gapic_version: ::Google::Cloud::StorageTransfer::V1::VERSION,
1214
1228
  transports_version_send: [:rest]
1215
1229
 
1230
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1216
1231
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1217
1232
 
1218
1233
  options.apply_defaults timeout: @config.rpcs.get_agent_pool.timeout,
@@ -1302,12 +1317,13 @@ module Google
1302
1317
  # Customize the options with defaults
1303
1318
  call_metadata = @config.rpcs.list_agent_pools.metadata.to_h
1304
1319
 
1305
- # Set x-goog-api-client and x-goog-user-project headers
1320
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1306
1321
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1307
1322
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1308
1323
  gapic_version: ::Google::Cloud::StorageTransfer::V1::VERSION,
1309
1324
  transports_version_send: [:rest]
1310
1325
 
1326
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1311
1327
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1312
1328
 
1313
1329
  options.apply_defaults timeout: @config.rpcs.list_agent_pools.timeout,
@@ -1381,12 +1397,13 @@ module Google
1381
1397
  # Customize the options with defaults
1382
1398
  call_metadata = @config.rpcs.delete_agent_pool.metadata.to_h
1383
1399
 
1384
- # Set x-goog-api-client and x-goog-user-project headers
1400
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1385
1401
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1386
1402
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1387
1403
  gapic_version: ::Google::Cloud::StorageTransfer::V1::VERSION,
1388
1404
  transports_version_send: [:rest]
1389
1405
 
1406
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1390
1407
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1391
1408
 
1392
1409
  options.apply_defaults timeout: @config.rpcs.delete_agent_pool.timeout,
@@ -26,6 +26,9 @@ module Google
26
26
  module Rest
27
27
  # Service that implements Longrunning Operations API.
28
28
  class Operations
29
+ # @private
30
+ API_VERSION = ""
31
+
29
32
  # @private
30
33
  DEFAULT_ENDPOINT_TEMPLATE = "storagetransfer.$UNIVERSE_DOMAIN$"
31
34
 
@@ -181,12 +184,13 @@ module Google
181
184
  # Customize the options with defaults
182
185
  call_metadata = @config.rpcs.list_operations.metadata.to_h
183
186
 
184
- # Set x-goog-api-client and x-goog-user-project headers
187
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
185
188
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
186
189
  lib_name: @config.lib_name, lib_version: @config.lib_version,
187
190
  gapic_version: ::Google::Cloud::StorageTransfer::V1::VERSION,
188
191
  transports_version_send: [:rest]
189
192
 
193
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
190
194
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
191
195
 
192
196
  options.apply_defaults timeout: @config.rpcs.list_operations.timeout,
@@ -269,12 +273,13 @@ module Google
269
273
  # Customize the options with defaults
270
274
  call_metadata = @config.rpcs.get_operation.metadata.to_h
271
275
 
272
- # Set x-goog-api-client and x-goog-user-project headers
276
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
273
277
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
274
278
  lib_name: @config.lib_name, lib_version: @config.lib_version,
275
279
  gapic_version: ::Google::Cloud::StorageTransfer::V1::VERSION,
276
280
  transports_version_send: [:rest]
277
281
 
282
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
278
283
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
279
284
 
280
285
  options.apply_defaults timeout: @config.rpcs.get_operation.timeout,
@@ -351,12 +356,13 @@ module Google
351
356
  # Customize the options with defaults
352
357
  call_metadata = @config.rpcs.delete_operation.metadata.to_h
353
358
 
354
- # Set x-goog-api-client and x-goog-user-project headers
359
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
355
360
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
356
361
  lib_name: @config.lib_name, lib_version: @config.lib_version,
357
362
  gapic_version: ::Google::Cloud::StorageTransfer::V1::VERSION,
358
363
  transports_version_send: [:rest]
359
364
 
365
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
360
366
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
361
367
 
362
368
  options.apply_defaults timeout: @config.rpcs.delete_operation.timeout,
@@ -438,12 +444,13 @@ module Google
438
444
  # Customize the options with defaults
439
445
  call_metadata = @config.rpcs.cancel_operation.metadata.to_h
440
446
 
441
- # Set x-goog-api-client and x-goog-user-project headers
447
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
442
448
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
443
449
  lib_name: @config.lib_name, lib_version: @config.lib_version,
444
450
  gapic_version: ::Google::Cloud::StorageTransfer::V1::VERSION,
445
451
  transports_version_send: [:rest]
446
452
 
453
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
447
454
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
448
455
 
449
456
  options.apply_defaults timeout: @config.rpcs.cancel_operation.timeout,
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module StorageTransfer
23
23
  module V1
24
- VERSION = "0.10.0"
24
+ VERSION = "1.1.0"
25
25
  end
26
26
  end
27
27
  end
@@ -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\"\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"
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\"Z\n\x07GcsData\x12\x18\n\x0b\x62ucket_name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x0c\n\x04path\x18\x03 \x01(\t\x12\'\n\x1fmanaged_folder_transfer_enabled\x18\x04 \x01(\x08\"\x82\x02\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\x1e\n\x11\x63loudfront_domain\x18\x06 \x01(\tB\x03\xe0\x41\x01\x12\x1f\n\x12\x63redentials_secret\x18\x07 \x01(\tB\x03\xe0\x41\x01\x12!\n\x17managed_private_network\x18\x08 \x01(\x08H\x00\x42\x11\n\x0fprivate_network\"\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\"\x18\n\x08HdfsData\x12\x0c\n\x04path\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\"\xb0\x08\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\x12?\n\x10hdfs_data_source\x18\x14 \x01(\x0b\x32#.google.storagetransfer.v1.HdfsDataH\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
 
@@ -56,6 +56,7 @@ module Google
56
56
  AzureBlobStorageData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.storagetransfer.v1.AzureBlobStorageData").msgclass
57
57
  HttpData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.storagetransfer.v1.HttpData").msgclass
58
58
  PosixFilesystem = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.storagetransfer.v1.PosixFilesystem").msgclass
59
+ HdfsData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.storagetransfer.v1.HdfsData").msgclass
59
60
  AwsS3CompatibleData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.storagetransfer.v1.AwsS3CompatibleData").msgclass
60
61
  S3CompatibleMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.storagetransfer.v1.S3CompatibleMetadata").msgclass
61
62
  S3CompatibleMetadata::AuthMethod = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.storagetransfer.v1.S3CompatibleMetadata.AuthMethod").enummodule
@@ -118,6 +118,10 @@ module Google
118
118
  # @return [::String]
119
119
  # Optional link to proto reference documentation. Example:
120
120
  # https://cloud.google.com/pubsub/lite/docs/reference/rpc
121
+ # @!attribute [rw] rest_reference_documentation_uri
122
+ # @return [::String]
123
+ # Optional link to REST reference documentation. Example:
124
+ # https://cloud.google.com/pubsub/lite/docs/reference/rest
121
125
  class Publishing
122
126
  include ::Google::Protobuf::MessageExts
123
127
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -286,6 +290,13 @@ module Google
286
290
  # @return [::String]
287
291
  # The fully qualified name of the method, for which the options below apply.
288
292
  # This is used to find the method to apply the options.
293
+ #
294
+ # Example:
295
+ #
296
+ # publishing:
297
+ # method_settings:
298
+ # - selector: google.storage.control.v2.StorageControl.CreateFolder
299
+ # # method settings for CreateFolder...
289
300
  # @!attribute [rw] long_running
290
301
  # @return [::Google::Api::MethodSettings::LongRunning]
291
302
  # Describes settings to use for long-running operations when generating
@@ -294,17 +305,14 @@ module Google
294
305
  #
295
306
  # Example of a YAML configuration::
296
307
  #
297
- # publishing:
298
- # method_settings:
308
+ # publishing:
309
+ # method_settings:
299
310
  # - selector: google.cloud.speech.v2.Speech.BatchRecognize
300
311
  # long_running:
301
- # initial_poll_delay:
302
- # seconds: 60 # 1 minute
312
+ # initial_poll_delay: 60s # 1 minute
303
313
  # poll_delay_multiplier: 1.5
304
- # max_poll_delay:
305
- # seconds: 360 # 6 minutes
306
- # total_poll_timeout:
307
- # seconds: 54000 # 90 minutes
314
+ # max_poll_delay: 360s # 6 minutes
315
+ # total_poll_timeout: 54000s # 90 minutes
308
316
  # @!attribute [rw] auto_populated_fields
309
317
  # @return [::Array<::String>]
310
318
  # List of top-level fields of the request message, that should be
@@ -313,8 +321,8 @@ module Google
313
321
  #
314
322
  # Example of a YAML configuration:
315
323
  #
316
- # publishing:
317
- # method_settings:
324
+ # publishing:
325
+ # method_settings:
318
326
  # - selector: google.example.v1.ExampleService.CreateExample
319
327
  # auto_populated_fields:
320
328
  # - request_id
@@ -124,8 +124,13 @@ module Google
124
124
  # @return [::String]
125
125
  # The plural name used in the resource name and permission names, such as
126
126
  # 'projects' for the resource name of 'projects/\\{project}' and the permission
127
- # name of 'cloudresourcemanager.googleapis.com/projects.get'. It is the same
128
- # concept of the `plural` field in k8s CRD spec
127
+ # name of 'cloudresourcemanager.googleapis.com/projects.get'. One exception
128
+ # to this is for Nested Collections that have stuttering names, as defined
129
+ # in [AIP-122](https://google.aip.dev/122#nested-collections), where the
130
+ # collection ID in the resource name pattern does not necessarily directly
131
+ # match the `plural` value.
132
+ #
133
+ # It is the same concept of the `plural` field in k8s CRD spec
129
134
  # https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
130
135
  #
131
136
  # Note: The plural form is required even for singleton resources. See
@@ -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
- # The Azure SAS token must be stored in Secret Manager in JSON format:
253
- # <pre>{
254
- # "sas_token" : "<var>SAS_TOKEN</var>"
255
- # }</pre>
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: Microsoft Azure Blob Storage]
260
- # (https://cloud.google.com/storage-transfer/docs/source-microsoft-azure#secret_manager)
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 [azure_credentials][].
264
- #
265
- # This feature is in
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
- # <pre>{
307
- # "sas_token" : "<var>SAS_TOKEN</var>"
308
- # }</pre>
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,9 +351,6 @@ 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
@@ -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 On-Premises Agent pool.
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, the resources such as
526
- # Pub/Sub topics are allocated for the AgentPool.
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
@@ -615,6 +659,9 @@ module Google
615
659
  # @!attribute [rw] aws_s3_compatible_data_source
616
660
  # @return [::Google::Cloud::StorageTransfer::V1::AwsS3CompatibleData]
617
661
  # An AWS S3 compatible data source.
662
+ # @!attribute [rw] hdfs_data_source
663
+ # @return [::Google::Cloud::StorageTransfer::V1::HdfsData]
664
+ # An HDFS cluster data source.
618
665
  # @!attribute [rw] gcs_intermediate_data_location
619
666
  # @return [::Google::Cloud::StorageTransfer::V1::GcsData]
620
667
  # For transfers between file systems, specifies a Cloud Storage bucket
@@ -699,9 +746,10 @@ module Google
699
746
  # @!attribute [rw] time_created
700
747
  # @return [::Google::Cloud::StorageTransfer::V1::MetadataOptions::TimeCreated]
701
748
  # Specifies how each object's `timeCreated` metadata is preserved for
702
- # transfers between Google Cloud Storage buckets. If unspecified, the
703
- # default behavior is the same as
749
+ # transfers. If unspecified, the default behavior is the same as
704
750
  # {::Google::Cloud::StorageTransfer::V1::MetadataOptions::TimeCreated::TIME_CREATED_SKIP TIME_CREATED_SKIP}.
751
+ # This behavior is supported for transfers to Cloud Storage buckets from
752
+ # Cloud Storage, Amazon S3, S3-compatible storage, and Azure sources.
705
753
  class MetadataOptions
706
754
  include ::Google::Protobuf::MessageExts
707
755
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -832,10 +880,10 @@ module Google
832
880
  # Do not preserve the `timeCreated` metadata from the source object.
833
881
  TIME_CREATED_SKIP = 1
834
882
 
835
- # Preserves the source object's `timeCreated` metadata in the `customTime`
836
- # field in the destination object. Note that any value stored in the
837
- # source object's `customTime` field will not be propagated to the
838
- # destination object.
883
+ # Preserves the source object's `timeCreated` or `lastModified` metadata in
884
+ # the `customTime` field in the destination object. Note that any value
885
+ # stored in the source object's `customTime` field will not be propagated
886
+ # to the destination object.
839
887
  TIME_CREATED_PRESERVE_AS_CUSTOM_TIME = 2
840
888
  end
841
889
  end
@@ -993,8 +1041,7 @@ module Google
993
1041
  # Transfer specification.
994
1042
  # @!attribute [rw] notification_config
995
1043
  # @return [::Google::Cloud::StorageTransfer::V1::NotificationConfig]
996
- # Notification configuration. This is not supported for transfers involving
997
- # PosixFilesystem.
1044
+ # Notification configuration.
998
1045
  # @!attribute [rw] logging_config
999
1046
  # @return [::Google::Cloud::StorageTransfer::V1::LoggingConfig]
1000
1047
  # Logging configuration.
@@ -1255,32 +1302,25 @@ module Google
1255
1302
 
1256
1303
  # Specifies the logging behavior for transfer operations.
1257
1304
  #
1258
- # For cloud-to-cloud transfers, logs are sent to Cloud Logging. See
1305
+ # Logs can be sent to Cloud Logging for all transfer types. See
1259
1306
  # [Read transfer
1260
1307
  # logs](https://cloud.google.com/storage-transfer/docs/read-transfer-logs) for
1261
1308
  # 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
1309
  # @!attribute [rw] log_actions
1269
1310
  # @return [::Array<::Google::Cloud::StorageTransfer::V1::LoggingConfig::LoggableAction>]
1270
1311
  # 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
1312
  # @!attribute [rw] log_action_states
1275
1313
  # @return [::Array<::Google::Cloud::StorageTransfer::V1::LoggingConfig::LoggableActionState>]
1276
1314
  # 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
1315
  # @!attribute [rw] enable_onprem_gcs_transfer_logs
1281
1316
  # @return [::Boolean]
1282
- # For transfers with a PosixFilesystem source, this option enables the Cloud
1283
- # Storage transfer logs for this transfer.
1317
+ # For PosixFilesystem transfers, enables
1318
+ # [file system transfer
1319
+ # logs](https://cloud.google.com/storage-transfer/docs/on-prem-transfer-log-format)
1320
+ # instead of, or in addition to, Cloud Logging.
1321
+ #
1322
+ # This option ignores [LoggableAction] and [LoggableActionState]. If these
1323
+ # are set, Cloud Logging will also be enabled for this transfer.
1284
1324
  class LoggingConfig
1285
1325
  include ::Google::Protobuf::MessageExts
1286
1326
  extend ::Google::Protobuf::MessageExts::ClassMethods
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.10.0
4
+ version: 1.1.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: 2024-02-26 00:00:00.000000000 Z
11
+ date: 2024-08-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common