google-apis-storagetransfer_v1 0.9.0 → 0.13.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fa51b5bcc252594c88df167a7cad102d8357e3c7b6559a4462ef1847f56b9264
4
- data.tar.gz: 7518b21b3eafb652f33877966fef38fa51a719d775a166c71bea88d1a7c86a3e
3
+ metadata.gz: 4c5579a3481033c95dceaf818a90ba1fc685e7922486c383282b3868c6f0e0ae
4
+ data.tar.gz: b2eb0bee508ffdbd3765763249d47aadf78cb8131b4682f812a0fe90d5ef0e16
5
5
  SHA512:
6
- metadata.gz: 247c5add62be3000b2bccabe399682be3617c6af048cdfb2d8592e558b89ae2f40e7135d7b436cb9f69bb4da7dd92e258830c6a3339b2be6384447414c9cad21
7
- data.tar.gz: 727ec79a0e769e62ec51726f3115023da1feb2a2ce3888347313315ee08b4221068783bc8dfd531019ab483f2045056710011c3e4fcfbf7eef093fd315c19a75
6
+ metadata.gz: fb9d9c31631bcb647287b1ded7331b8ee13162ac77fae0b7a4d239240587145ab62f7298beb4cea7f830d330b6ec9196ed191db43187dbc8ec19a0e5adc9d7f2
7
+ data.tar.gz: 3e04e2e7dd2925621912153c0595d7f6e7a10851fdc9ea7732c0cb834f08d9784425916eb4579feb6663e68667f6d1874f6956890c2ec542c992b6e7fedcabdb
data/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Release history for google-apis-storagetransfer_v1
2
2
 
3
+ ### v0.13.0 (2021-07-31)
4
+
5
+ * Regenerated from discovery document revision 20210726
6
+
7
+ ### v0.12.0 (2021-07-14)
8
+
9
+ * Regenerated from discovery document revision 20210708
10
+
11
+ ### v0.11.0 (2021-07-07)
12
+
13
+ * Regenerated from discovery document revision 20210701
14
+
15
+ ### v0.10.0 (2021-07-01)
16
+
17
+ * Regenerated from discovery document revision 20210624
18
+ * Regenerated using generator version 0.4.0
19
+
3
20
  ### v0.9.0 (2021-06-24)
4
21
 
5
22
  * Regenerated from discovery document revision 20210617
@@ -76,6 +76,16 @@ module Google
76
76
  # @return [String]
77
77
  attr_accessor :path
78
78
 
79
+ # The Amazon Resource Name (ARN) of the role to support temporary credentials
80
+ # via `AssumeRoleWithWebIdentity`. For more information about ARNs, see [IAM
81
+ # ARNs](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.
82
+ # html#identifiers-arns). When a role ARN is provided, Transfer Service fetches
83
+ # temporary credentials for the session using a `AssumeRoleWithWebIdentity` call
84
+ # for the provided role using the GoogleServiceAccount for this project.
85
+ # Corresponds to the JSON property `roleArn`
86
+ # @return [String]
87
+ attr_accessor :role_arn
88
+
79
89
  def initialize(**args)
80
90
  update!(**args)
81
91
  end
@@ -85,6 +95,7 @@ module Google
85
95
  @aws_access_key = args[:aws_access_key] if args.key?(:aws_access_key)
86
96
  @bucket_name = args[:bucket_name] if args.key?(:bucket_name)
87
97
  @path = args[:path] if args.key?(:path)
98
+ @role_arn = args[:role_arn] if args.key?(:role_arn)
88
99
  end
89
100
  end
90
101
 
@@ -141,9 +152,12 @@ module Google
141
152
  class AzureCredentials
142
153
  include Google::Apis::Core::Hashable
143
154
 
144
- # Required. Azure shared access signature. (see [Grant limited access to Azure
145
- # Storage resources using shared access signatures (SAS)](https://docs.microsoft.
146
- # com/en-us/azure/storage/common/storage-sas-overview)).
155
+ # Required. Azure shared access signature (SAS). *Note:*Copying data from Azure
156
+ # Data Lake Storage (ADLS) Gen 2 is in [Preview](/products/#product-launch-
157
+ # stages). During Preview, if you are copying data from ADLS Gen 2, you must use
158
+ # an account SAS. For more information about SAS, see [Grant limited access to
159
+ # Azure Storage resources using shared access signatures (SAS)](https://docs.
160
+ # microsoft.com/en-us/azure/storage/common/storage-sas-overview).
147
161
  # Corresponds to the JSON property `sasToken`
148
162
  # @return [String]
149
163
  attr_accessor :sas_token
@@ -269,8 +283,8 @@ module Google
269
283
  # @return [Fixnum]
270
284
  attr_accessor :error_count
271
285
 
272
- # Error samples. At most 5 error log entries will be recorded for a given error
273
- # code for a single transfer operation.
286
+ # Error samples. At most 5 error log entries are recorded for a given error code
287
+ # for a single transfer operation.
274
288
  # Corresponds to the JSON property `errorLogEntries`
275
289
  # @return [Array<Google::Apis::StoragetransferV1::ErrorLogEntry>]
276
290
  attr_accessor :error_log_entries
@@ -328,6 +342,11 @@ module Google
328
342
  # @return [String]
329
343
  attr_accessor :account_email
330
344
 
345
+ # Unique identifier for the service account.
346
+ # Corresponds to the JSON property `subjectId`
347
+ # @return [String]
348
+ attr_accessor :subject_id
349
+
331
350
  def initialize(**args)
332
351
  update!(**args)
333
352
  end
@@ -335,6 +354,7 @@ module Google
335
354
  # Update properties of this object
336
355
  def update!(**args)
337
356
  @account_email = args[:account_email] if args.key?(:account_email)
357
+ @subject_id = args[:subject_id] if args.key?(:subject_id)
338
358
  end
339
359
  end
340
360
 
@@ -351,14 +371,14 @@ module Google
351
371
  # following in mind: * When an object located at `http(s)://hostname:port/` is
352
372
  # transferred to a data sink, the name of the object at the data sink is `/`. *
353
373
  # If the specified size of an object does not match the actual size of the
354
- # object fetched, the object will not be transferred. * If the specified MD5
355
- # does not match the MD5 computed from the transferred bytes, the object
356
- # transfer will fail. * Ensure that each URL you specify is publicly accessible.
357
- # For example, in Cloud Storage you can [share an object publicly] (/storage/
358
- # docs/cloud-console#_sharingdata) and get a link to it. * Storage Transfer
359
- # Service obeys `robots.txt` rules and requires the source HTTP server to
360
- # support `Range` requests and to return a `Content-Length` header in each
361
- # response. * ObjectConditions have no effect when filtering objects to transfer.
374
+ # object fetched, the object is not transferred. * If the specified MD5 does not
375
+ # match the MD5 computed from the transferred bytes, the object transfer fails. *
376
+ # Ensure that each URL you specify is publicly accessible. For example, in
377
+ # Cloud Storage you can [share an object publicly] (/storage/docs/cloud-console#
378
+ # _sharingdata) and get a link to it. * Storage Transfer Service obeys `robots.
379
+ # txt` rules and requires the source HTTP server to support `Range` requests and
380
+ # to return a `Content-Length` header in each response. * ObjectConditions have
381
+ # no effect when filtering objects to transfer.
362
382
  class HttpData
363
383
  include Google::Apis::Core::Hashable
364
384
 
@@ -429,13 +449,35 @@ module Google
429
449
  end
430
450
  end
431
451
 
432
- # Specification to configure notifications published to Cloud Pub/Sub.
433
- # Notifications will be published to the customer-provided topic using the
434
- # following `PubsubMessage.attributes`: * `"eventType"`: one of the EventType
435
- # values * `"payloadFormat"`: one of the PayloadFormat values * `"projectId"`:
436
- # the project_id of the `TransferOperation` * `"transferJobName"`: the
452
+ # Logging configure.
453
+ class LoggingConfig
454
+ include Google::Apis::Core::Hashable
455
+
456
+ # Enables the Cloud Storage transfer logs for this transfer. This is only
457
+ # supported for transfer jobs with PosixFilesystem sources. The default is that
458
+ # logs are not generated for this transfer.
459
+ # Corresponds to the JSON property `enableOnpremGcsTransferLogs`
460
+ # @return [Boolean]
461
+ attr_accessor :enable_onprem_gcs_transfer_logs
462
+ alias_method :enable_onprem_gcs_transfer_logs?, :enable_onprem_gcs_transfer_logs
463
+
464
+ def initialize(**args)
465
+ update!(**args)
466
+ end
467
+
468
+ # Update properties of this object
469
+ def update!(**args)
470
+ @enable_onprem_gcs_transfer_logs = args[:enable_onprem_gcs_transfer_logs] if args.key?(:enable_onprem_gcs_transfer_logs)
471
+ end
472
+ end
473
+
474
+ # Specification to configure notifications published to Pub/Sub. Notifications
475
+ # are published to the customer-provided topic using the following `
476
+ # PubsubMessage.attributes`: * `"eventType"`: one of the EventType values * `"
477
+ # payloadFormat"`: one of the PayloadFormat values * `"projectId"`: the
478
+ # project_id of the `TransferOperation` * `"transferJobName"`: the
437
479
  # transfer_job_name of the `TransferOperation` * `"transferOperationName"`: the
438
- # name of the `TransferOperation` The `PubsubMessage.data` will contain a
480
+ # name of the `TransferOperation` The `PubsubMessage.data` contains a
439
481
  # TransferOperation resource formatted according to the specified `PayloadFormat`
440
482
  # .
441
483
  class NotificationConfig
@@ -452,9 +494,9 @@ module Google
452
494
  # @return [String]
453
495
  attr_accessor :payload_format
454
496
 
455
- # Required. The `Topic.name` of the Cloud Pub/Sub topic to which to publish
497
+ # Required. The `Topic.name` of the Pub/Sub topic to which to publish
456
498
  # notifications. Must be of the format: `projects/`project`/topics/`topic``. Not
457
- # matching this format will result in an INVALID_ARGUMENT error.
499
+ # matching this format results in an INVALID_ARGUMENT error.
458
500
  # Corresponds to the JSON property `pubsubTopic`
459
501
  # @return [String]
460
502
  attr_accessor :pubsub_topic
@@ -471,12 +513,12 @@ module Google
471
513
  end
472
514
  end
473
515
 
474
- # Conditions that determine which objects will be transferred. Applies only to
475
- # Cloud Data Sources such as S3, Azure, and Cloud Storage. The "last
476
- # modification time" refers to the time of the last change to the object's
477
- # content or metadata — specifically, this is the `updated` property of Cloud
478
- # Storage objects, the `LastModified` field of S3 objects, and the `Last-
479
- # Modified` header of Azure blobs.
516
+ # Conditions that determine which objects are transferred. Applies only to Cloud
517
+ # Data Sources such as S3, Azure, and Cloud Storage. The "last modification time"
518
+ # refers to the time of the last change to the object's content or metadata —
519
+ # specifically, this is the `updated` property of Cloud Storage objects, the `
520
+ # LastModified` field of S3 objects, and the `Last-Modified` header of Azure
521
+ # blobs. This is not supported for transfers involving PosixFilesystem.
480
522
  class ObjectConditions
481
523
  include Google::Apis::Core::Hashable
482
524
 
@@ -523,7 +565,7 @@ module Google
523
565
  attr_accessor :include_prefixes
524
566
 
525
567
  # If specified, only objects with a "last modification time" before this
526
- # timestamp and objects that don't have a "last modification time" will be
568
+ # timestamp and objects that don't have a "last modification time" are
527
569
  # transferred.
528
570
  # Corresponds to the JSON property `lastModifiedBefore`
529
571
  # @return [String]
@@ -643,6 +685,25 @@ module Google
643
685
  end
644
686
  end
645
687
 
688
+ # A POSIX filesystem data source or sink.
689
+ class PosixFilesystem
690
+ include Google::Apis::Core::Hashable
691
+
692
+ # Root directory path to the filesystem.
693
+ # Corresponds to the JSON property `rootDirectory`
694
+ # @return [String]
695
+ attr_accessor :root_directory
696
+
697
+ def initialize(**args)
698
+ update!(**args)
699
+ end
700
+
701
+ # Update properties of this object
702
+ def update!(**args)
703
+ @root_directory = args[:root_directory] if args.key?(:root_directory)
704
+ end
705
+ end
706
+
646
707
  # Request passed to ResumeTransferOperation.
647
708
  class ResumeTransferOperationRequest
648
709
  include Google::Apis::Core::Hashable
@@ -865,6 +926,28 @@ module Google
865
926
  # @return [Fixnum]
866
927
  attr_accessor :bytes_from_source_skipped_by_sync
867
928
 
929
+ # For transfers involving PosixFilesystem only. Number of listing failures for
930
+ # each directory found at the source. Potential failures when listing a
931
+ # directory include permission failure or block failure. If listing a directory
932
+ # fails, no files in the directory are transferred.
933
+ # Corresponds to the JSON property `directoriesFailedToListFromSource`
934
+ # @return [Fixnum]
935
+ attr_accessor :directories_failed_to_list_from_source
936
+
937
+ # For transfers involving PosixFilesystem only. Number of directories found
938
+ # while listing. For example, if the root directory of the transfer is `base/`
939
+ # and there are two other directories, `a/` and `b/` under this directory, the
940
+ # count after listing `base/`, `base/a/` and `base/b/` is 3.
941
+ # Corresponds to the JSON property `directoriesFoundFromSource`
942
+ # @return [Fixnum]
943
+ attr_accessor :directories_found_from_source
944
+
945
+ # For transfers involving PosixFilesystem only. Number of successful listings
946
+ # for each directory found at the source.
947
+ # Corresponds to the JSON property `directoriesSuccessfullyListedFromSource`
948
+ # @return [Fixnum]
949
+ attr_accessor :directories_successfully_listed_from_source
950
+
868
951
  # Objects that are copied to the data sink.
869
952
  # Corresponds to the JSON property `objectsCopiedToSink`
870
953
  # @return [Fixnum]
@@ -923,6 +1006,9 @@ module Google
923
1006
  @bytes_found_only_from_sink = args[:bytes_found_only_from_sink] if args.key?(:bytes_found_only_from_sink)
924
1007
  @bytes_from_source_failed = args[:bytes_from_source_failed] if args.key?(:bytes_from_source_failed)
925
1008
  @bytes_from_source_skipped_by_sync = args[:bytes_from_source_skipped_by_sync] if args.key?(:bytes_from_source_skipped_by_sync)
1009
+ @directories_failed_to_list_from_source = args[:directories_failed_to_list_from_source] if args.key?(:directories_failed_to_list_from_source)
1010
+ @directories_found_from_source = args[:directories_found_from_source] if args.key?(:directories_found_from_source)
1011
+ @directories_successfully_listed_from_source = args[:directories_successfully_listed_from_source] if args.key?(:directories_successfully_listed_from_source)
926
1012
  @objects_copied_to_sink = args[:objects_copied_to_sink] if args.key?(:objects_copied_to_sink)
927
1013
  @objects_deleted_from_sink = args[:objects_deleted_from_sink] if args.key?(:objects_deleted_from_sink)
928
1014
  @objects_deleted_from_source = args[:objects_deleted_from_source] if args.key?(:objects_deleted_from_source)
@@ -966,27 +1052,36 @@ module Google
966
1052
  # @return [String]
967
1053
  attr_accessor :latest_operation_name
968
1054
 
1055
+ # Logging configure.
1056
+ # Corresponds to the JSON property `loggingConfig`
1057
+ # @return [Google::Apis::StoragetransferV1::LoggingConfig]
1058
+ attr_accessor :logging_config
1059
+
969
1060
  # A unique name (within the transfer project) assigned when the job is created.
970
1061
  # If this field is empty in a CreateTransferJobRequest, Storage Transfer Service
971
- # will assign a unique name. Otherwise, the specified name is used as the unique
1062
+ # assigns a unique name. Otherwise, the specified name is used as the unique
972
1063
  # name for this job. If the specified name is in use by a job, the creation
973
1064
  # request fails with an ALREADY_EXISTS error. This name must start with `"
974
1065
  # transferJobs/"` prefix and end with a letter or a number, and should be no
975
- # more than 128 characters. This name must not start with 'transferJobs/OPI'. '
976
- # transferJobs/OPI' is a reserved prefix. Example: `"transferJobs/^(?!OPI)[A-Za-
977
- # z0-9-._~]*[A-Za-z0-9]$"` Invalid job names will fail with an INVALID_ARGUMENT
978
- # error.
1066
+ # more than 128 characters. For transfers involving PosixFilesystem, this name
1067
+ # must start with 'transferJobs/OPI' specifically. For all other transfer types,
1068
+ # this name must not start with 'transferJobs/OPI'. 'transferJobs/OPI' is a
1069
+ # reserved prefix for PosixFilesystem transfers. Non-PosixFilesystem example: `"
1070
+ # transferJobs/^(?!OPI)[A-Za-z0-9-._~]*[A-Za-z0-9]$"` PosixFilesystem example: `"
1071
+ # transferJobs/OPI^[A-Za-z0-9-._~]*[A-Za-z0-9]$"` Applications must not rely on
1072
+ # the enforcement of naming requirements involving OPI. Invalid job names fail
1073
+ # with an INVALID_ARGUMENT error.
979
1074
  # Corresponds to the JSON property `name`
980
1075
  # @return [String]
981
1076
  attr_accessor :name
982
1077
 
983
- # Specification to configure notifications published to Cloud Pub/Sub.
984
- # Notifications will be published to the customer-provided topic using the
985
- # following `PubsubMessage.attributes`: * `"eventType"`: one of the EventType
986
- # values * `"payloadFormat"`: one of the PayloadFormat values * `"projectId"`:
987
- # the project_id of the `TransferOperation` * `"transferJobName"`: the
1078
+ # Specification to configure notifications published to Pub/Sub. Notifications
1079
+ # are published to the customer-provided topic using the following `
1080
+ # PubsubMessage.attributes`: * `"eventType"`: one of the EventType values * `"
1081
+ # payloadFormat"`: one of the PayloadFormat values * `"projectId"`: the
1082
+ # project_id of the `TransferOperation` * `"transferJobName"`: the
988
1083
  # transfer_job_name of the `TransferOperation` * `"transferOperationName"`: the
989
- # name of the `TransferOperation` The `PubsubMessage.data` will contain a
1084
+ # name of the `TransferOperation` The `PubsubMessage.data` contains a
990
1085
  # TransferOperation resource formatted according to the specified `PayloadFormat`
991
1086
  # .
992
1087
  # Corresponds to the JSON property `notificationConfig`
@@ -1028,6 +1123,7 @@ module Google
1028
1123
  @description = args[:description] if args.key?(:description)
1029
1124
  @last_modification_time = args[:last_modification_time] if args.key?(:last_modification_time)
1030
1125
  @latest_operation_name = args[:latest_operation_name] if args.key?(:latest_operation_name)
1126
+ @logging_config = args[:logging_config] if args.key?(:logging_config)
1031
1127
  @name = args[:name] if args.key?(:name)
1032
1128
  @notification_config = args[:notification_config] if args.key?(:notification_config)
1033
1129
  @project_id = args[:project_id] if args.key?(:project_id)
@@ -1061,13 +1157,13 @@ module Google
1061
1157
  # @return [String]
1062
1158
  attr_accessor :name
1063
1159
 
1064
- # Specification to configure notifications published to Cloud Pub/Sub.
1065
- # Notifications will be published to the customer-provided topic using the
1066
- # following `PubsubMessage.attributes`: * `"eventType"`: one of the EventType
1067
- # values * `"payloadFormat"`: one of the PayloadFormat values * `"projectId"`:
1068
- # the project_id of the `TransferOperation` * `"transferJobName"`: the
1160
+ # Specification to configure notifications published to Pub/Sub. Notifications
1161
+ # are published to the customer-provided topic using the following `
1162
+ # PubsubMessage.attributes`: * `"eventType"`: one of the EventType values * `"
1163
+ # payloadFormat"`: one of the PayloadFormat values * `"projectId"`: the
1164
+ # project_id of the `TransferOperation` * `"transferJobName"`: the
1069
1165
  # transfer_job_name of the `TransferOperation` * `"transferOperationName"`: the
1070
- # name of the `TransferOperation` The `PubsubMessage.data` will contain a
1166
+ # name of the `TransferOperation` The `PubsubMessage.data` contains a
1071
1167
  # TransferOperation resource formatted according to the specified `PayloadFormat`
1072
1168
  # .
1073
1169
  # Corresponds to the JSON property `notificationConfig`
@@ -1139,8 +1235,8 @@ module Google
1139
1235
 
1140
1236
  # When to overwrite objects that already exist in the sink. The default is that
1141
1237
  # only objects that are different from the source are ovewritten. If true, all
1142
- # objects in the sink whose name matches an object in the source will be
1143
- # overwritten with the source object.
1238
+ # objects in the sink whose name matches an object in the source are overwritten
1239
+ # with the source object.
1144
1240
  # Corresponds to the JSON property `overwriteObjectsAlreadyExistingInSink`
1145
1241
  # @return [Boolean]
1146
1242
  attr_accessor :overwrite_objects_already_existing_in_sink
@@ -1208,28 +1304,33 @@ module Google
1208
1304
  # following in mind: * When an object located at `http(s)://hostname:port/` is
1209
1305
  # transferred to a data sink, the name of the object at the data sink is `/`. *
1210
1306
  # If the specified size of an object does not match the actual size of the
1211
- # object fetched, the object will not be transferred. * If the specified MD5
1212
- # does not match the MD5 computed from the transferred bytes, the object
1213
- # transfer will fail. * Ensure that each URL you specify is publicly accessible.
1214
- # For example, in Cloud Storage you can [share an object publicly] (/storage/
1215
- # docs/cloud-console#_sharingdata) and get a link to it. * Storage Transfer
1216
- # Service obeys `robots.txt` rules and requires the source HTTP server to
1217
- # support `Range` requests and to return a `Content-Length` header in each
1218
- # response. * ObjectConditions have no effect when filtering objects to transfer.
1307
+ # object fetched, the object is not transferred. * If the specified MD5 does not
1308
+ # match the MD5 computed from the transferred bytes, the object transfer fails. *
1309
+ # Ensure that each URL you specify is publicly accessible. For example, in
1310
+ # Cloud Storage you can [share an object publicly] (/storage/docs/cloud-console#
1311
+ # _sharingdata) and get a link to it. * Storage Transfer Service obeys `robots.
1312
+ # txt` rules and requires the source HTTP server to support `Range` requests and
1313
+ # to return a `Content-Length` header in each response. * ObjectConditions have
1314
+ # no effect when filtering objects to transfer.
1219
1315
  # Corresponds to the JSON property `httpDataSource`
1220
1316
  # @return [Google::Apis::StoragetransferV1::HttpData]
1221
1317
  attr_accessor :http_data_source
1222
1318
 
1223
- # Conditions that determine which objects will be transferred. Applies only to
1224
- # Cloud Data Sources such as S3, Azure, and Cloud Storage. The "last
1225
- # modification time" refers to the time of the last change to the object's
1226
- # content or metadata — specifically, this is the `updated` property of Cloud
1227
- # Storage objects, the `LastModified` field of S3 objects, and the `Last-
1228
- # Modified` header of Azure blobs.
1319
+ # Conditions that determine which objects are transferred. Applies only to Cloud
1320
+ # Data Sources such as S3, Azure, and Cloud Storage. The "last modification time"
1321
+ # refers to the time of the last change to the object's content or metadata —
1322
+ # specifically, this is the `updated` property of Cloud Storage objects, the `
1323
+ # LastModified` field of S3 objects, and the `Last-Modified` header of Azure
1324
+ # blobs. This is not supported for transfers involving PosixFilesystem.
1229
1325
  # Corresponds to the JSON property `objectConditions`
1230
1326
  # @return [Google::Apis::StoragetransferV1::ObjectConditions]
1231
1327
  attr_accessor :object_conditions
1232
1328
 
1329
+ # A POSIX filesystem data source or sink.
1330
+ # Corresponds to the JSON property `posixDataSource`
1331
+ # @return [Google::Apis::StoragetransferV1::PosixFilesystem]
1332
+ attr_accessor :posix_data_source
1333
+
1233
1334
  # TransferOptions define the actions to be performed on objects in a transfer.
1234
1335
  # Corresponds to the JSON property `transferOptions`
1235
1336
  # @return [Google::Apis::StoragetransferV1::TransferOptions]
@@ -1247,6 +1348,7 @@ module Google
1247
1348
  @gcs_data_source = args[:gcs_data_source] if args.key?(:gcs_data_source)
1248
1349
  @http_data_source = args[:http_data_source] if args.key?(:http_data_source)
1249
1350
  @object_conditions = args[:object_conditions] if args.key?(:object_conditions)
1351
+ @posix_data_source = args[:posix_data_source] if args.key?(:posix_data_source)
1250
1352
  @transfer_options = args[:transfer_options] if args.key?(:transfer_options)
1251
1353
  end
1252
1354
  end
@@ -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.9.0"
19
+ GEM_VERSION = "0.13.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.3.0"
22
+ GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210617"
25
+ REVISION = "20210726"
26
26
  end
27
27
  end
28
28
  end
@@ -106,6 +106,12 @@ module Google
106
106
  include Google::Apis::Core::JsonObjectSupport
107
107
  end
108
108
 
109
+ class LoggingConfig
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
109
115
  class NotificationConfig
110
116
  class Representation < Google::Apis::Core::JsonRepresentation; end
111
117
 
@@ -130,6 +136,12 @@ module Google
130
136
  include Google::Apis::Core::JsonObjectSupport
131
137
  end
132
138
 
139
+ class PosixFilesystem
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
133
145
  class ResumeTransferOperationRequest
134
146
  class Representation < Google::Apis::Core::JsonRepresentation; end
135
147
 
@@ -211,6 +223,7 @@ module Google
211
223
 
212
224
  property :bucket_name, as: 'bucketName'
213
225
  property :path, as: 'path'
226
+ property :role_arn, as: 'roleArn'
214
227
  end
215
228
  end
216
229
 
@@ -283,6 +296,7 @@ module Google
283
296
  # @private
284
297
  class Representation < Google::Apis::Core::JsonRepresentation
285
298
  property :account_email, as: 'accountEmail'
299
+ property :subject_id, as: 'subjectId'
286
300
  end
287
301
  end
288
302
 
@@ -311,6 +325,13 @@ module Google
311
325
  end
312
326
  end
313
327
 
328
+ class LoggingConfig
329
+ # @private
330
+ class Representation < Google::Apis::Core::JsonRepresentation
331
+ property :enable_onprem_gcs_transfer_logs, as: 'enableOnpremGcsTransferLogs'
332
+ end
333
+ end
334
+
314
335
  class NotificationConfig
315
336
  # @private
316
337
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -350,6 +371,13 @@ module Google
350
371
  end
351
372
  end
352
373
 
374
+ class PosixFilesystem
375
+ # @private
376
+ class Representation < Google::Apis::Core::JsonRepresentation
377
+ property :root_directory, as: 'rootDirectory'
378
+ end
379
+ end
380
+
353
381
  class ResumeTransferOperationRequest
354
382
  # @private
355
383
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -408,6 +436,9 @@ module Google
408
436
  property :bytes_found_only_from_sink, :numeric_string => true, as: 'bytesFoundOnlyFromSink'
409
437
  property :bytes_from_source_failed, :numeric_string => true, as: 'bytesFromSourceFailed'
410
438
  property :bytes_from_source_skipped_by_sync, :numeric_string => true, as: 'bytesFromSourceSkippedBySync'
439
+ property :directories_failed_to_list_from_source, :numeric_string => true, as: 'directoriesFailedToListFromSource'
440
+ property :directories_found_from_source, :numeric_string => true, as: 'directoriesFoundFromSource'
441
+ property :directories_successfully_listed_from_source, :numeric_string => true, as: 'directoriesSuccessfullyListedFromSource'
411
442
  property :objects_copied_to_sink, :numeric_string => true, as: 'objectsCopiedToSink'
412
443
  property :objects_deleted_from_sink, :numeric_string => true, as: 'objectsDeletedFromSink'
413
444
  property :objects_deleted_from_source, :numeric_string => true, as: 'objectsDeletedFromSource'
@@ -427,6 +458,8 @@ module Google
427
458
  property :description, as: 'description'
428
459
  property :last_modification_time, as: 'lastModificationTime'
429
460
  property :latest_operation_name, as: 'latestOperationName'
461
+ property :logging_config, as: 'loggingConfig', class: Google::Apis::StoragetransferV1::LoggingConfig, decorator: Google::Apis::StoragetransferV1::LoggingConfig::Representation
462
+
430
463
  property :name, as: 'name'
431
464
  property :notification_config, as: 'notificationConfig', class: Google::Apis::StoragetransferV1::NotificationConfig, decorator: Google::Apis::StoragetransferV1::NotificationConfig::Representation
432
465
 
@@ -483,6 +516,8 @@ module Google
483
516
 
484
517
  property :object_conditions, as: 'objectConditions', class: Google::Apis::StoragetransferV1::ObjectConditions, decorator: Google::Apis::StoragetransferV1::ObjectConditions::Representation
485
518
 
519
+ property :posix_data_source, as: 'posixDataSource', class: Google::Apis::StoragetransferV1::PosixFilesystem, decorator: Google::Apis::StoragetransferV1::PosixFilesystem::Representation
520
+
486
521
  property :transfer_options, as: 'transferOptions', class: Google::Apis::StoragetransferV1::TransferOptions, decorator: Google::Apis::StoragetransferV1::TransferOptions::Representation
487
522
 
488
523
  end
@@ -119,7 +119,7 @@ module Google
119
119
 
120
120
  # Gets a transfer job.
121
121
  # @param [String] job_name
122
- # Required. " The job to get.
122
+ # Required. The job to get.
123
123
  # @param [String] project_id
124
124
  # Required. The ID of the Google Cloud Platform Console project that owns the
125
125
  # job.
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.9.0
4
+ version: 0.13.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-06-28 00:00:00.000000000 Z
11
+ date: 2021-08-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.3'
19
+ version: '0.4'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.3'
29
+ version: '0.4'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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/master/generated/google-apis-storagetransfer_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-storagetransfer_v1/v0.9.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-storagetransfer_v1/v0.13.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-storagetransfer_v1
63
63
  post_install_message:
64
64
  rdoc_options: []