google-apis-storagetransfer_v1 0.16.0 → 0.20.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: 80c18683fdb4d192b9f9da51763453689ca91566cea49854332720c3ce6872a2
4
- data.tar.gz: 9899dedceed7cbeb390be891a7f7b8bb601d92a2f0d2683feac9bce502d5679e
3
+ metadata.gz: 0355c551ff75762ddcc54415aef19c80e5a59119d779dd7c2bb1e525ba289aef
4
+ data.tar.gz: 7f4a2094f075795038c905a90e350284f822dadd6479011c995cb24dfcf078f5
5
5
  SHA512:
6
- metadata.gz: 9ecf86953bf9293d6e0fc819226d7fc9886806ecfafe19c692c5570837663c7c11236753a8980b76a9881cb36e9ab30180c62efb392b892dda7943274925e150
7
- data.tar.gz: 584341983ca62e5e337c7961ee57cd7fa1c59c876b7e04e0f5d7789cbe52d86dfcb59c9c0aee3c9afadb81f2a55fec5a06002c57e380babfc11d3a77bd26d429
6
+ metadata.gz: 4fb6494387010140bbdd3a5eb1929e8033c7edc294cb3e2a0d14a42662c32d13d8b32843fbfda7617ed0abb7bcbe21f1c197138782512584a0c249e1bfc59e75
7
+ data.tar.gz: b0d9e616174ad7fc343f10bb19d766658451120e0398acccf0f253de462699ba987b0a8a8b75fe390af476d79417549f486b91d4d83ef0da123be85e67d0d430
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-storagetransfer_v1
2
2
 
3
+ ### v0.20.0 (2021-12-14)
4
+
5
+ * Regenerated from discovery document revision 20211211
6
+
7
+ ### v0.19.0 (2021-12-11)
8
+
9
+ * Regenerated from discovery document revision 20211210
10
+
11
+ ### v0.18.0 (2021-12-02)
12
+
13
+ * Regenerated from discovery document revision 20211130
14
+
15
+ ### v0.17.0 (2021-11-06)
16
+
17
+ * Regenerated from discovery document revision 20211105
18
+
3
19
  ### v0.16.0 (2021-10-20)
4
20
 
5
21
  * Regenerated from discovery document revision 20211018
data/OVERVIEW.md CHANGED
@@ -51,7 +51,7 @@ require "google/apis/storagetransfer_v1"
51
51
  client = Google::Apis::StoragetransferV1::StoragetransferService.new
52
52
 
53
53
  # Authenticate calls
54
- client.authentication = # ... use the googleauth gem to create credentials
54
+ client.authorization = # ... use the googleauth gem to create credentials
55
55
  ```
56
56
 
57
57
  See the class reference docs for information on the methods you can call from a client.
@@ -26,8 +26,7 @@ module Google
26
26
  class AgentPool
27
27
  include Google::Apis::Core::Hashable
28
28
 
29
- # Specifies the BandwidthLimit to describe the non-negative bandwidth rate in
30
- # mbps for the agent pool.
29
+ # Specifies a bandwidth limit for an agent pool.
31
30
  # Corresponds to the JSON property `bandwidthLimit`
32
31
  # @return [Google::Apis::StoragetransferV1::BandwidthLimit]
33
32
  attr_accessor :bandwidth_limit
@@ -37,8 +36,8 @@ module Google
37
36
  # @return [String]
38
37
  attr_accessor :display_name
39
38
 
40
- # Required. Specifies a unique string that identifies the agent pool. Format:
41
- # projects/`project_id`/agentPools/`agent_pool_id`
39
+ # Required. Specifies a unique string that identifies the agent pool. Format: `
40
+ # projects/`project_id`/agentPools/`agent_pool_id``
42
41
  # Corresponds to the JSON property `name`
43
42
  # @return [String]
44
43
  attr_accessor :name
@@ -191,12 +190,10 @@ module Google
191
190
  class AzureCredentials
192
191
  include Google::Apis::Core::Hashable
193
192
 
194
- # Required. Azure shared access signature (SAS). *Note:*Copying data from Azure
195
- # Data Lake Storage (ADLS) Gen 2 is in [Preview](/products/#product-launch-
196
- # stages). During Preview, if you are copying data from ADLS Gen 2, you must use
197
- # an account SAS. For more information about SAS, see [Grant limited access to
198
- # Azure Storage resources using shared access signatures (SAS)](https://docs.
199
- # microsoft.com/en-us/azure/storage/common/storage-sas-overview).
193
+ # Required. Azure shared access signature (SAS). For more information about SAS,
194
+ # see [Grant limited access to Azure Storage resources using shared access
195
+ # signatures (SAS)](https://docs.microsoft.com/en-us/azure/storage/common/
196
+ # storage-sas-overview).
200
197
  # Corresponds to the JSON property `sasToken`
201
198
  # @return [String]
202
199
  attr_accessor :sas_token
@@ -211,12 +208,12 @@ module Google
211
208
  end
212
209
  end
213
210
 
214
- # Specifies the BandwidthLimit to describe the non-negative bandwidth rate in
215
- # mbps for the agent pool.
211
+ # Specifies a bandwidth limit for an agent pool.
216
212
  class BandwidthLimit
217
213
  include Google::Apis::Core::Hashable
218
214
 
219
- # Specifies bandwidth rate in mbps distributed across all the agents in the pool.
215
+ # Bandwidth rate in megabytes per second, distributed across all the agents in
216
+ # the pool.
220
217
  # Corresponds to the JSON property `limitMbps`
221
218
  # @return [Fixnum]
222
219
  attr_accessor :limit_mbps
@@ -533,18 +530,37 @@ module Google
533
530
  end
534
531
  end
535
532
 
536
- # Logging configuration.
533
+ # Specifies the logging behavior for transfer operations. For cloud-to-cloud
534
+ # transfers, logs are sent to Cloud Logging. See [Read transfer logs](https://
535
+ # cloud.google.com/storage-transfer/docs/read-transfer-logs) for details. For
536
+ # transfers to or from a POSIX file system, logs are stored in the Cloud Storage
537
+ # bucket that is the source or sink of the transfer. See [Managing Transfer for
538
+ # on-premises jobs] (https://cloud.google.com/storage-transfer/docs/managing-on-
539
+ # prem-jobs#viewing-logs) for details.
537
540
  class LoggingConfig
538
541
  include Google::Apis::Core::Hashable
539
542
 
540
- # Enables the Cloud Storage transfer logs for this transfer. This is only
541
- # supported for transfer jobs with PosixFilesystem sources. The default is that
542
- # logs are not generated for this transfer.
543
+ # For transfers with a PosixFilesystem source, this option enables the Cloud
544
+ # Storage transfer logs for this transfer.
543
545
  # Corresponds to the JSON property `enableOnpremGcsTransferLogs`
544
546
  # @return [Boolean]
545
547
  attr_accessor :enable_onprem_gcs_transfer_logs
546
548
  alias_method :enable_onprem_gcs_transfer_logs?, :enable_onprem_gcs_transfer_logs
547
549
 
550
+ # States in which `log_actions` are logged. If empty, no logs are generated. Not
551
+ # supported for transfers with PosixFilesystem data sources; use
552
+ # enable_onprem_gcs_transfer_logs instead.
553
+ # Corresponds to the JSON property `logActionStates`
554
+ # @return [Array<String>]
555
+ attr_accessor :log_action_states
556
+
557
+ # Specifies the actions to be logged. If empty, no logs are generated. Not
558
+ # supported for transfers with PosixFilesystem data sources; use
559
+ # enable_onprem_gcs_transfer_logs instead.
560
+ # Corresponds to the JSON property `logActions`
561
+ # @return [Array<String>]
562
+ attr_accessor :log_actions
563
+
548
564
  def initialize(**args)
549
565
  update!(**args)
550
566
  end
@@ -552,6 +568,53 @@ module Google
552
568
  # Update properties of this object
553
569
  def update!(**args)
554
570
  @enable_onprem_gcs_transfer_logs = args[:enable_onprem_gcs_transfer_logs] if args.key?(:enable_onprem_gcs_transfer_logs)
571
+ @log_action_states = args[:log_action_states] if args.key?(:log_action_states)
572
+ @log_actions = args[:log_actions] if args.key?(:log_actions)
573
+ end
574
+ end
575
+
576
+ # Specifies the metadata options for running a transfer.
577
+ class MetadataOptions
578
+ include Google::Apis::Core::Hashable
579
+
580
+ # Specifies how each file's GID attribute should be handled by the transfer. If
581
+ # unspecified, the default behavior is the same as GID_SKIP when the source is a
582
+ # POSIX file system.
583
+ # Corresponds to the JSON property `gid`
584
+ # @return [String]
585
+ attr_accessor :gid
586
+
587
+ # Specifies how each file's mode attribute should be handled by the transfer. If
588
+ # unspecified, the default behavior is the same as MODE_SKIP when the source is
589
+ # a POSIX file system.
590
+ # Corresponds to the JSON property `mode`
591
+ # @return [String]
592
+ attr_accessor :mode
593
+
594
+ # Specifies how symlinks should be handled by the transfer. If unspecified, the
595
+ # default behavior is the same as SYMLINK_SKIP when the source is a POSIX file
596
+ # system.
597
+ # Corresponds to the JSON property `symlink`
598
+ # @return [String]
599
+ attr_accessor :symlink
600
+
601
+ # Specifies how each file's UID attribute should be handled by the transfer. If
602
+ # unspecified, the default behavior is the same as UID_SKIP when the source is a
603
+ # POSIX file system.
604
+ # Corresponds to the JSON property `uid`
605
+ # @return [String]
606
+ attr_accessor :uid
607
+
608
+ def initialize(**args)
609
+ update!(**args)
610
+ end
611
+
612
+ # Update properties of this object
613
+ def update!(**args)
614
+ @gid = args[:gid] if args.key?(:gid)
615
+ @mode = args[:mode] if args.key?(:mode)
616
+ @symlink = args[:symlink] if args.key?(:symlink)
617
+ @uid = args[:uid] if args.key?(:uid)
555
618
  end
556
619
  end
557
620
 
@@ -602,8 +665,8 @@ module Google
602
665
  # refers to the time of the last change to the object's content or metadata —
603
666
  # specifically, this is the `updated` property of Cloud Storage objects, the `
604
667
  # LastModified` field of S3 objects, and the `Last-Modified` header of Azure
605
- # blobs. Transfers that use PosixFilesystem and have a Cloud Storage source don'
606
- # t support `ObjectConditions`.
668
+ # blobs. Transfers with a PosixFilesystem source or destination don't support `
669
+ # ObjectConditions`.
607
670
  class ObjectConditions
608
671
  include Google::Apis::Core::Hashable
609
672
 
@@ -667,18 +730,24 @@ module Google
667
730
  # @return [String]
668
731
  attr_accessor :last_modified_since
669
732
 
670
- # If specified, only objects with a "last modification time" on or after `NOW` -
671
- # `max_time_elapsed_since_last_modification` and objects that don't have a "last
672
- # modification time" are transferred. For each TransferOperation started by this
673
- # TransferJob, `NOW` refers to the start_time of the `TransferOperation`.
733
+ # Ensures that objects are not transferred if a specific maximum time has
734
+ # elapsed since the "last modification time". When a TransferOperation begins,
735
+ # objects with a "last modification time" are transferred only if the elapsed
736
+ # time between the start_time of the `TransferOperation`and the "last
737
+ # modification time" of the object is less than the value of
738
+ # max_time_elapsed_since_last_modification`. Objects that do not have a "last
739
+ # modification time" are also transferred.
674
740
  # Corresponds to the JSON property `maxTimeElapsedSinceLastModification`
675
741
  # @return [String]
676
742
  attr_accessor :max_time_elapsed_since_last_modification
677
743
 
678
- # If specified, only objects with a "last modification time" before `NOW` - `
679
- # min_time_elapsed_since_last_modification` and objects that don't have a "last
680
- # modification time" are transferred. For each TransferOperation started by this
681
- # TransferJob, `NOW` refers to the start_time of the `TransferOperation`.
744
+ # Ensures that objects are not transferred until a specific minimum time has
745
+ # elapsed after the "last modification time". When a TransferOperation begins,
746
+ # objects with a "last modification time" are transferred only if the elapsed
747
+ # time between the start_time of the `TransferOperation` and the "last
748
+ # modification time" of the object is equal to or greater than the value of
749
+ # min_time_elapsed_since_last_modification`. Objects that do not have a "last
750
+ # modification time" are also transferred.
682
751
  # Corresponds to the JSON property `minTimeElapsedSinceLastModification`
683
752
  # @return [String]
684
753
  attr_accessor :min_time_elapsed_since_last_modification
@@ -806,8 +875,7 @@ module Google
806
875
  class RunTransferJobRequest
807
876
  include Google::Apis::Core::Hashable
808
877
 
809
- # Required. The ID of the Google Cloud Platform Console project that owns the
810
- # transfer job.
878
+ # Required. The ID of the Google Cloud project that owns the transfer job.
811
879
  # Corresponds to the JSON property `projectId`
812
880
  # @return [String]
813
881
  attr_accessor :project_id
@@ -1149,7 +1217,13 @@ module Google
1149
1217
  # @return [String]
1150
1218
  attr_accessor :latest_operation_name
1151
1219
 
1152
- # Logging configuration.
1220
+ # Specifies the logging behavior for transfer operations. For cloud-to-cloud
1221
+ # transfers, logs are sent to Cloud Logging. See [Read transfer logs](https://
1222
+ # cloud.google.com/storage-transfer/docs/read-transfer-logs) for details. For
1223
+ # transfers to or from a POSIX file system, logs are stored in the Cloud Storage
1224
+ # bucket that is the source or sink of the transfer. See [Managing Transfer for
1225
+ # on-premises jobs] (https://cloud.google.com/storage-transfer/docs/managing-on-
1226
+ # prem-jobs#viewing-logs) for details.
1153
1227
  # Corresponds to the JSON property `loggingConfig`
1154
1228
  # @return [Google::Apis::StoragetransferV1::LoggingConfig]
1155
1229
  attr_accessor :logging_config
@@ -1184,7 +1258,7 @@ module Google
1184
1258
  # @return [Google::Apis::StoragetransferV1::NotificationConfig]
1185
1259
  attr_accessor :notification_config
1186
1260
 
1187
- # The ID of the Google Cloud Platform Project that owns the job.
1261
+ # The ID of the Google Cloud project that owns the job.
1188
1262
  # Corresponds to the JSON property `projectId`
1189
1263
  # @return [String]
1190
1264
  attr_accessor :project_id
@@ -1229,6 +1303,27 @@ module Google
1229
1303
  end
1230
1304
  end
1231
1305
 
1306
+ # Specifies where the manifest is located.
1307
+ class TransferManifest
1308
+ include Google::Apis::Core::Hashable
1309
+
1310
+ # Specifies the path to the manifest in Cloud Storage. The Google-managed
1311
+ # service account for the transfer must have `storage.objects.get` permission
1312
+ # for this object. An example path is `gs://bucket_name/path/manifest.csv`.
1313
+ # Corresponds to the JSON property `location`
1314
+ # @return [String]
1315
+ attr_accessor :location
1316
+
1317
+ def initialize(**args)
1318
+ update!(**args)
1319
+ end
1320
+
1321
+ # Update properties of this object
1322
+ def update!(**args)
1323
+ @location = args[:location] if args.key?(:location)
1324
+ end
1325
+ end
1326
+
1232
1327
  # A description of the execution of a transfer.
1233
1328
  class TransferOperation
1234
1329
  include Google::Apis::Core::Hashable
@@ -1266,7 +1361,7 @@ module Google
1266
1361
  # @return [Google::Apis::StoragetransferV1::NotificationConfig]
1267
1362
  attr_accessor :notification_config
1268
1363
 
1269
- # The ID of the Google Cloud Platform Project that owns the operation.
1364
+ # The ID of the Google Cloud project that owns the operation.
1270
1365
  # Corresponds to the JSON property `projectId`
1271
1366
  # @return [String]
1272
1367
  attr_accessor :project_id
@@ -1329,6 +1424,11 @@ module Google
1329
1424
  attr_accessor :delete_objects_unique_in_sink
1330
1425
  alias_method :delete_objects_unique_in_sink?, :delete_objects_unique_in_sink
1331
1426
 
1427
+ # Specifies the metadata options for running a transfer.
1428
+ # Corresponds to the JSON property `metadataOptions`
1429
+ # @return [Google::Apis::StoragetransferV1::MetadataOptions]
1430
+ attr_accessor :metadata_options
1431
+
1332
1432
  # When to overwrite objects that already exist in the sink. The default is that
1333
1433
  # only objects that are different from the source are ovewritten. If true, all
1334
1434
  # objects in the sink whose name matches an object in the source are overwritten
@@ -1346,6 +1446,7 @@ module Google
1346
1446
  def update!(**args)
1347
1447
  @delete_objects_from_source_after_transfer = args[:delete_objects_from_source_after_transfer] if args.key?(:delete_objects_from_source_after_transfer)
1348
1448
  @delete_objects_unique_in_sink = args[:delete_objects_unique_in_sink] if args.key?(:delete_objects_unique_in_sink)
1449
+ @metadata_options = args[:metadata_options] if args.key?(:metadata_options)
1349
1450
  @overwrite_objects_already_existing_in_sink = args[:overwrite_objects_already_existing_in_sink] if args.key?(:overwrite_objects_already_existing_in_sink)
1350
1451
  end
1351
1452
  end
@@ -1387,6 +1488,14 @@ module Google
1387
1488
  # @return [Google::Apis::StoragetransferV1::GcsData]
1388
1489
  attr_accessor :gcs_data_source
1389
1490
 
1491
+ # In a GcsData resource, an object's name is the Cloud Storage object's name and
1492
+ # its "last modification time" refers to the object's `updated` property of
1493
+ # Cloud Storage objects, which changes when the content or the metadata of the
1494
+ # object is updated.
1495
+ # Corresponds to the JSON property `gcsIntermediateDataLocation`
1496
+ # @return [Google::Apis::StoragetransferV1::GcsData]
1497
+ attr_accessor :gcs_intermediate_data_location
1498
+
1390
1499
  # An HttpData resource specifies a list of objects on the web to be transferred
1391
1500
  # over HTTP. The information of the objects to be transferred is contained in a
1392
1501
  # file referenced by a URL. The first line in the file must be `"TsvHttpData-1.0"
@@ -1417,17 +1526,39 @@ module Google
1417
1526
  # refers to the time of the last change to the object's content or metadata —
1418
1527
  # specifically, this is the `updated` property of Cloud Storage objects, the `
1419
1528
  # LastModified` field of S3 objects, and the `Last-Modified` header of Azure
1420
- # blobs. Transfers that use PosixFilesystem and have a Cloud Storage source don'
1421
- # t support `ObjectConditions`.
1529
+ # blobs. Transfers with a PosixFilesystem source or destination don't support `
1530
+ # ObjectConditions`.
1422
1531
  # Corresponds to the JSON property `objectConditions`
1423
1532
  # @return [Google::Apis::StoragetransferV1::ObjectConditions]
1424
1533
  attr_accessor :object_conditions
1425
1534
 
1535
+ # A POSIX filesystem resource.
1536
+ # Corresponds to the JSON property `posixDataSink`
1537
+ # @return [Google::Apis::StoragetransferV1::PosixFilesystem]
1538
+ attr_accessor :posix_data_sink
1539
+
1426
1540
  # A POSIX filesystem resource.
1427
1541
  # Corresponds to the JSON property `posixDataSource`
1428
1542
  # @return [Google::Apis::StoragetransferV1::PosixFilesystem]
1429
1543
  attr_accessor :posix_data_source
1430
1544
 
1545
+ # Specifies the agent pool name associated with the posix data sink. When
1546
+ # unspecified, the default name is used.
1547
+ # Corresponds to the JSON property `sinkAgentPoolName`
1548
+ # @return [String]
1549
+ attr_accessor :sink_agent_pool_name
1550
+
1551
+ # Specifies the agent pool name associated with the posix data source. When
1552
+ # unspecified, the default name is used.
1553
+ # Corresponds to the JSON property `sourceAgentPoolName`
1554
+ # @return [String]
1555
+ attr_accessor :source_agent_pool_name
1556
+
1557
+ # Specifies where the manifest is located.
1558
+ # Corresponds to the JSON property `transferManifest`
1559
+ # @return [Google::Apis::StoragetransferV1::TransferManifest]
1560
+ attr_accessor :transfer_manifest
1561
+
1431
1562
  # TransferOptions define the actions to be performed on objects in a transfer.
1432
1563
  # Corresponds to the JSON property `transferOptions`
1433
1564
  # @return [Google::Apis::StoragetransferV1::TransferOptions]
@@ -1443,9 +1574,14 @@ module Google
1443
1574
  @azure_blob_storage_data_source = args[:azure_blob_storage_data_source] if args.key?(:azure_blob_storage_data_source)
1444
1575
  @gcs_data_sink = args[:gcs_data_sink] if args.key?(:gcs_data_sink)
1445
1576
  @gcs_data_source = args[:gcs_data_source] if args.key?(:gcs_data_source)
1577
+ @gcs_intermediate_data_location = args[:gcs_intermediate_data_location] if args.key?(:gcs_intermediate_data_location)
1446
1578
  @http_data_source = args[:http_data_source] if args.key?(:http_data_source)
1447
1579
  @object_conditions = args[:object_conditions] if args.key?(:object_conditions)
1580
+ @posix_data_sink = args[:posix_data_sink] if args.key?(:posix_data_sink)
1448
1581
  @posix_data_source = args[:posix_data_source] if args.key?(:posix_data_source)
1582
+ @sink_agent_pool_name = args[:sink_agent_pool_name] if args.key?(:sink_agent_pool_name)
1583
+ @source_agent_pool_name = args[:source_agent_pool_name] if args.key?(:source_agent_pool_name)
1584
+ @transfer_manifest = args[:transfer_manifest] if args.key?(:transfer_manifest)
1449
1585
  @transfer_options = args[:transfer_options] if args.key?(:transfer_options)
1450
1586
  end
1451
1587
  end
@@ -1454,8 +1590,7 @@ module Google
1454
1590
  class UpdateTransferJobRequest
1455
1591
  include Google::Apis::Core::Hashable
1456
1592
 
1457
- # Required. The ID of the Google Cloud Platform Console project that owns the
1458
- # job.
1593
+ # Required. The ID of the Google Cloud project that owns the job.
1459
1594
  # Corresponds to the JSON property `projectId`
1460
1595
  # @return [String]
1461
1596
  attr_accessor :project_id
@@ -1468,10 +1603,10 @@ module Google
1468
1603
 
1469
1604
  # The field mask of the fields in `transferJob` that are to be updated in this
1470
1605
  # request. Fields in `transferJob` that can be updated are: description,
1471
- # transfer_spec, notification_config, and status. To update the `transfer_spec`
1472
- # of the job, a complete transfer specification must be provided. An incomplete
1473
- # specification missing any required fields is rejected with the error
1474
- # INVALID_ARGUMENT.
1606
+ # transfer_spec, notification_config, logging_config, and status. To update the `
1607
+ # transfer_spec` of the job, a complete transfer specification must be provided.
1608
+ # An incomplete specification missing any required fields is rejected with the
1609
+ # error INVALID_ARGUMENT.
1475
1610
  # Corresponds to the JSON property `updateTransferJobFieldMask`
1476
1611
  # @return [String]
1477
1612
  attr_accessor :update_transfer_job_field_mask
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module StoragetransferV1
18
18
  # Version of the google-apis-storagetransfer_v1 gem
19
- GEM_VERSION = "0.16.0"
19
+ GEM_VERSION = "0.20.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20211018"
25
+ REVISION = "20211211"
26
26
  end
27
27
  end
28
28
  end
@@ -130,6 +130,12 @@ module Google
130
130
  include Google::Apis::Core::JsonObjectSupport
131
131
  end
132
132
 
133
+ class MetadataOptions
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
133
139
  class NotificationConfig
134
140
  class Representation < Google::Apis::Core::JsonRepresentation; end
135
141
 
@@ -202,6 +208,12 @@ module Google
202
208
  include Google::Apis::Core::JsonObjectSupport
203
209
  end
204
210
 
211
+ class TransferManifest
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
205
217
  class TransferOperation
206
218
  class Representation < Google::Apis::Core::JsonRepresentation; end
207
219
 
@@ -374,6 +386,18 @@ module Google
374
386
  # @private
375
387
  class Representation < Google::Apis::Core::JsonRepresentation
376
388
  property :enable_onprem_gcs_transfer_logs, as: 'enableOnpremGcsTransferLogs'
389
+ collection :log_action_states, as: 'logActionStates'
390
+ collection :log_actions, as: 'logActions'
391
+ end
392
+ end
393
+
394
+ class MetadataOptions
395
+ # @private
396
+ class Representation < Google::Apis::Core::JsonRepresentation
397
+ property :gid, as: 'gid'
398
+ property :mode, as: 'mode'
399
+ property :symlink, as: 'symlink'
400
+ property :uid, as: 'uid'
377
401
  end
378
402
  end
379
403
 
@@ -519,6 +543,13 @@ module Google
519
543
  end
520
544
  end
521
545
 
546
+ class TransferManifest
547
+ # @private
548
+ class Representation < Google::Apis::Core::JsonRepresentation
549
+ property :location, as: 'location'
550
+ end
551
+ end
552
+
522
553
  class TransferOperation
523
554
  # @private
524
555
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -544,6 +575,8 @@ module Google
544
575
  class Representation < Google::Apis::Core::JsonRepresentation
545
576
  property :delete_objects_from_source_after_transfer, as: 'deleteObjectsFromSourceAfterTransfer'
546
577
  property :delete_objects_unique_in_sink, as: 'deleteObjectsUniqueInSink'
578
+ property :metadata_options, as: 'metadataOptions', class: Google::Apis::StoragetransferV1::MetadataOptions, decorator: Google::Apis::StoragetransferV1::MetadataOptions::Representation
579
+
547
580
  property :overwrite_objects_already_existing_in_sink, as: 'overwriteObjectsAlreadyExistingInSink'
548
581
  end
549
582
  end
@@ -559,12 +592,20 @@ module Google
559
592
 
560
593
  property :gcs_data_source, as: 'gcsDataSource', class: Google::Apis::StoragetransferV1::GcsData, decorator: Google::Apis::StoragetransferV1::GcsData::Representation
561
594
 
595
+ property :gcs_intermediate_data_location, as: 'gcsIntermediateDataLocation', class: Google::Apis::StoragetransferV1::GcsData, decorator: Google::Apis::StoragetransferV1::GcsData::Representation
596
+
562
597
  property :http_data_source, as: 'httpDataSource', class: Google::Apis::StoragetransferV1::HttpData, decorator: Google::Apis::StoragetransferV1::HttpData::Representation
563
598
 
564
599
  property :object_conditions, as: 'objectConditions', class: Google::Apis::StoragetransferV1::ObjectConditions, decorator: Google::Apis::StoragetransferV1::ObjectConditions::Representation
565
600
 
601
+ property :posix_data_sink, as: 'posixDataSink', class: Google::Apis::StoragetransferV1::PosixFilesystem, decorator: Google::Apis::StoragetransferV1::PosixFilesystem::Representation
602
+
566
603
  property :posix_data_source, as: 'posixDataSource', class: Google::Apis::StoragetransferV1::PosixFilesystem, decorator: Google::Apis::StoragetransferV1::PosixFilesystem::Representation
567
604
 
605
+ property :sink_agent_pool_name, as: 'sinkAgentPoolName'
606
+ property :source_agent_pool_name, as: 'sourceAgentPoolName'
607
+ property :transfer_manifest, as: 'transferManifest', class: Google::Apis::StoragetransferV1::TransferManifest, decorator: Google::Apis::StoragetransferV1::TransferManifest::Representation
608
+
568
609
  property :transfer_options, as: 'transferOptions', class: Google::Apis::StoragetransferV1::TransferOptions, decorator: Google::Apis::StoragetransferV1::TransferOptions::Representation
569
610
 
570
611
  end
@@ -52,14 +52,14 @@ module Google
52
52
 
53
53
  # Returns the Google service account that is used by Storage Transfer Service to
54
54
  # access buckets in the project where transfers run or in other projects. Each
55
- # Google service account is associated with one Google Cloud Platform Console
56
- # project. Users should add this service account to the Google Cloud Storage
57
- # bucket ACLs to grant access to Storage Transfer Service. This service account
58
- # is created and owned by Storage Transfer Service and can only be used by
59
- # Storage Transfer Service.
55
+ # Google service account is associated with one Google Cloud project. Users
56
+ # should add this service account to the Google Cloud Storage bucket ACLs to
57
+ # grant access to Storage Transfer Service. This service account is created and
58
+ # owned by Storage Transfer Service and can only be used by Storage Transfer
59
+ # Service.
60
60
  # @param [String] project_id
61
- # Required. The ID of the Google Cloud Platform Console project that the Google
62
- # service account is associated with.
61
+ # Required. The ID of the Google Cloud project that the Google service account
62
+ # is associated with.
63
63
  # @param [String] fields
64
64
  # Selector specifying which fields to include in a partial response.
65
65
  # @param [String] quota_user
@@ -89,14 +89,16 @@ module Google
89
89
 
90
90
  # Creates an agent pool resource.
91
91
  # @param [String] project_id
92
- # Required. The ID of the Google Cloud Platform Console project that owns the
93
- # agent pool.
92
+ # Required. The ID of the Google Cloud project that owns the agent pool.
94
93
  # @param [Google::Apis::StoragetransferV1::AgentPool] agent_pool_object
95
94
  # @param [String] agent_pool_id
96
- # Required. The id of the agent pool to create. The agent_pool_id must be non-
97
- # empty, less than or equal to 128 characters, and satisfy the following regex: "
98
- # ^[a-z]([a-z0-9-._~]*[a-z0-9])?$". Also, agent pool names cannot start with the
99
- # string "goog".
95
+ # Required. The ID of the agent pool to create. The `agent_pool_id` must meet
96
+ # the following requirements: * Length of 128 characters or less. * Not start
97
+ # with the string `goog`. * Start with a lowercase ASCII character, followed by:
98
+ # * Zero or more: lowercase Latin alphabet characters, numerals, hyphens (`-`),
99
+ # periods (`.`), underscores (`_`), or tildes (`~`). * One or more numerals or
100
+ # lowercase ASCII characters. As expressed by the regular expression: `^(?!goog)[
101
+ # a-z]([a-z0-9-._~]*[a-z0-9])?$`.
100
102
  # @param [String] fields
101
103
  # Selector specifying which fields to include in a partial response.
102
104
  # @param [String] quota_user
@@ -129,7 +131,7 @@ module Google
129
131
 
130
132
  # Deletes an agent pool.
131
133
  # @param [String] name
132
- # Required. The agent pool name to delete.
134
+ # Required. The name of the agent pool to delete.
133
135
  # @param [String] fields
134
136
  # Selector specifying which fields to include in a partial response.
135
137
  # @param [String] quota_user
@@ -159,7 +161,7 @@ module Google
159
161
 
160
162
  # Gets an agent pool.
161
163
  # @param [String] name
162
- # Required. The agent pool to get.
164
+ # Required. The name of the agent pool to get.
163
165
  # @param [String] fields
164
166
  # Selector specifying which fields to include in a partial response.
165
167
  # @param [String] quota_user
@@ -189,16 +191,15 @@ module Google
189
191
 
190
192
  # Lists agent pools.
191
193
  # @param [String] project_id
192
- # Required. The ID of the Google Cloud Platform Console project that owns the
193
- # job.
194
+ # Required. The ID of the Google Cloud project that owns the job.
194
195
  # @param [String] filter
195
- # A list of optional query parameters specified as JSON text in the form of: ``"
196
+ # An optional list of query parameters specified as JSON text in the form of: ``"
196
197
  # agentPoolNames":["agentpool1","agentpool2",...]`` Since `agentPoolNames`
197
- # support multiple values, its values must be specified with array notation. `
198
- # agentPoolNames` is an optional field. The list returns all agent pools for the
199
- # project when the filter is not provided or empty.
198
+ # support multiple values, its values must be specified with array notation.
199
+ # When the filter is either empty or not provided, the list returns all agent
200
+ # pools for the project.
200
201
  # @param [Fixnum] page_size
201
- # The list page size. The max allowed value is 256.
202
+ # The list page size. The max allowed value is `256`.
202
203
  # @param [String] page_token
203
204
  # The list page token.
204
205
  # @param [String] fields
@@ -233,13 +234,14 @@ module Google
233
234
 
234
235
  # Updates an existing agent pool resource.
235
236
  # @param [String] name
236
- # Required. Specifies a unique string that identifies the agent pool. Format:
237
- # projects/`project_id`/agentPools/`agent_pool_id`
237
+ # Required. Specifies a unique string that identifies the agent pool. Format: `
238
+ # projects/`project_id`/agentPools/`agent_pool_id``
238
239
  # @param [Google::Apis::StoragetransferV1::AgentPool] agent_pool_object
239
240
  # @param [String] update_mask
240
- # The field mask of the fields in `agentPool` that are to be updated in this
241
- # request. Fields in `agentPool` that can be updated are: display_name,
242
- # bandwidth_limit,
241
+ # The [field mask] (https://developers.google.com/protocol-buffers/docs/
242
+ # reference/google.protobuf) of the fields in `agentPool` to update in this
243
+ # request. The following `agentPool` fields can be updated: * display_name *
244
+ # bandwidth_limit
243
245
  # @param [String] fields
244
246
  # Selector specifying which fields to include in a partial response.
245
247
  # @param [String] quota_user
@@ -304,8 +306,7 @@ module Google
304
306
  # @param [String] job_name
305
307
  # Required. The job to get.
306
308
  # @param [String] project_id
307
- # Required. The ID of the Google Cloud Platform Console project that owns the
308
- # job.
309
+ # Required. The ID of the Google Cloud project that owns the job.
309
310
  # @param [String] fields
310
311
  # Selector specifying which fields to include in a partial response.
311
312
  # @param [String] quota_user
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-storagetransfer_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.16.0
4
+ version: 0.20.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: 2021-10-27 00:00:00.000000000 Z
11
+ date: 2022-01-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-storagetransfer_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-storagetransfer_v1/v0.16.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-storagetransfer_v1/v0.20.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-storagetransfer_v1
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.2.17
78
+ rubygems_version: 3.3.4
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Storage Transfer API V1