google-apis-storagetransfer_v1 0.10.0 → 0.14.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: 254123704604921c8e30562570ce1e4c9837f15666939882e6bb7af6c95bef87
4
- data.tar.gz: 679c01a531d04c5685acc3aebd66a9d71b9598be9870f289bae54ccddd380268
3
+ metadata.gz: afb5910367ba17053411ea0d1979549041043a63fcad7f11e91595d83b647e38
4
+ data.tar.gz: ee8f8f610f94005b468f9bf5513063e105171a935435237fb5c8ca1208cf8629
5
5
  SHA512:
6
- metadata.gz: d89189a254f8ba858415a6c5f809ee60d83f75e8088caf809ffd7294000f686a8d79188db0821afbfd5723538c717578bc449348235aa89dfc7a4de09faae836
7
- data.tar.gz: b2d41686bd7ab2c64a6bb121fd91b89c495d75caf70726ac0af2f4b32f0f3ef013ff1e363cf45f67bf5e04cb775f9e9ec8a6362cff31bf5f7d3265a7ddaf8bde
6
+ metadata.gz: 9cc0297804c1e61f376ef84d446dce5d7d37ab70649858e7e4dcbcf1576886788b0f8b7660af9983fef21aaad1ca049b42ccf04ec725db9cbea188a47af95198
7
+ data.tar.gz: cdf849955bc0d656ef0ffc55c604f309d1cd9dc3b34bc8a91819f2a0071a835d493556615c79c1556b4b1d0f0eab708ca7310fed7cda72feca14fe318e64daf8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-storagetransfer_v1
2
2
 
3
+ ### v0.14.0 (2021-08-20)
4
+
5
+ * Regenerated from discovery document revision 20210812
6
+
7
+ ### v0.13.0 (2021-07-31)
8
+
9
+ * Regenerated from discovery document revision 20210726
10
+
11
+ ### v0.12.0 (2021-07-14)
12
+
13
+ * Regenerated from discovery document revision 20210708
14
+
15
+ ### v0.11.0 (2021-07-07)
16
+
17
+ * Regenerated from discovery document revision 20210701
18
+
3
19
  ### v0.10.0 (2021-07-01)
4
20
 
5
21
  * Regenerated from discovery document revision 20210624
@@ -30,7 +30,7 @@ module Google
30
30
  # This is NOT the gem version.
31
31
  VERSION = 'V1'
32
32
 
33
- # See, edit, configure, and delete your Google Cloud Platform data
33
+ # See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
34
34
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
35
35
  end
36
36
  end
@@ -76,10 +76,12 @@ module Google
76
76
  # @return [String]
77
77
  attr_accessor :path
78
78
 
79
- # Input only. Role arn to support temporary credentials via
80
- # AssumeRoleWithWebIdentity. When role arn is provided, transfer service will
81
- # fetch temporary credentials for the session using AssumeRoleWithWebIdentity
82
- # call for the provided role using the [GoogleServiceAccount] for this project.
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.
83
85
  # Corresponds to the JSON property `roleArn`
84
86
  # @return [String]
85
87
  attr_accessor :role_arn
@@ -281,8 +283,8 @@ module Google
281
283
  # @return [Fixnum]
282
284
  attr_accessor :error_count
283
285
 
284
- # Error samples. At most 5 error log entries will be recorded for a given error
285
- # 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.
286
288
  # Corresponds to the JSON property `errorLogEntries`
287
289
  # @return [Array<Google::Apis::StoragetransferV1::ErrorLogEntry>]
288
290
  attr_accessor :error_log_entries
@@ -369,14 +371,14 @@ module Google
369
371
  # following in mind: * When an object located at `http(s)://hostname:port/` is
370
372
  # transferred to a data sink, the name of the object at the data sink is `/`. *
371
373
  # If the specified size of an object does not match the actual size of the
372
- # object fetched, the object will not be transferred. * If the specified MD5
373
- # does not match the MD5 computed from the transferred bytes, the object
374
- # transfer will fail. * Ensure that each URL you specify is publicly accessible.
375
- # For example, in Cloud Storage you can [share an object publicly] (/storage/
376
- # docs/cloud-console#_sharingdata) and get a link to it. * Storage Transfer
377
- # Service obeys `robots.txt` rules and requires the source HTTP server to
378
- # support `Range` requests and to return a `Content-Length` header in each
379
- # 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.
380
382
  class HttpData
381
383
  include Google::Apis::Core::Hashable
382
384
 
@@ -447,13 +449,35 @@ module Google
447
449
  end
448
450
  end
449
451
 
450
- # Specification to configure notifications published to Cloud Pub/Sub.
451
- # Notifications will be published to the customer-provided topic using the
452
- # following `PubsubMessage.attributes`: * `"eventType"`: one of the EventType
453
- # values * `"payloadFormat"`: one of the PayloadFormat values * `"projectId"`:
454
- # 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
455
479
  # transfer_job_name of the `TransferOperation` * `"transferOperationName"`: the
456
- # name of the `TransferOperation` The `PubsubMessage.data` will contain a
480
+ # name of the `TransferOperation` The `PubsubMessage.data` contains a
457
481
  # TransferOperation resource formatted according to the specified `PayloadFormat`
458
482
  # .
459
483
  class NotificationConfig
@@ -470,9 +494,9 @@ module Google
470
494
  # @return [String]
471
495
  attr_accessor :payload_format
472
496
 
473
- # 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
474
498
  # notifications. Must be of the format: `projects/`project`/topics/`topic``. Not
475
- # matching this format will result in an INVALID_ARGUMENT error.
499
+ # matching this format results in an INVALID_ARGUMENT error.
476
500
  # Corresponds to the JSON property `pubsubTopic`
477
501
  # @return [String]
478
502
  attr_accessor :pubsub_topic
@@ -489,12 +513,12 @@ module Google
489
513
  end
490
514
  end
491
515
 
492
- # Conditions that determine which objects will be transferred. Applies only to
493
- # Cloud Data Sources such as S3, Azure, and Cloud Storage. The "last
494
- # modification time" refers to the time of the last change to the object's
495
- # content or metadata — specifically, this is the `updated` property of Cloud
496
- # Storage objects, the `LastModified` field of S3 objects, and the `Last-
497
- # 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.
498
522
  class ObjectConditions
499
523
  include Google::Apis::Core::Hashable
500
524
 
@@ -541,7 +565,7 @@ module Google
541
565
  attr_accessor :include_prefixes
542
566
 
543
567
  # If specified, only objects with a "last modification time" before this
544
- # 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
545
569
  # transferred.
546
570
  # Corresponds to the JSON property `lastModifiedBefore`
547
571
  # @return [String]
@@ -661,6 +685,25 @@ module Google
661
685
  end
662
686
  end
663
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
+
664
707
  # Request passed to ResumeTransferOperation.
665
708
  class ResumeTransferOperationRequest
666
709
  include Google::Apis::Core::Hashable
@@ -883,6 +926,28 @@ module Google
883
926
  # @return [Fixnum]
884
927
  attr_accessor :bytes_from_source_skipped_by_sync
885
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
+
886
951
  # Objects that are copied to the data sink.
887
952
  # Corresponds to the JSON property `objectsCopiedToSink`
888
953
  # @return [Fixnum]
@@ -941,6 +1006,9 @@ module Google
941
1006
  @bytes_found_only_from_sink = args[:bytes_found_only_from_sink] if args.key?(:bytes_found_only_from_sink)
942
1007
  @bytes_from_source_failed = args[:bytes_from_source_failed] if args.key?(:bytes_from_source_failed)
943
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)
944
1012
  @objects_copied_to_sink = args[:objects_copied_to_sink] if args.key?(:objects_copied_to_sink)
945
1013
  @objects_deleted_from_sink = args[:objects_deleted_from_sink] if args.key?(:objects_deleted_from_sink)
946
1014
  @objects_deleted_from_source = args[:objects_deleted_from_source] if args.key?(:objects_deleted_from_source)
@@ -984,27 +1052,36 @@ module Google
984
1052
  # @return [String]
985
1053
  attr_accessor :latest_operation_name
986
1054
 
1055
+ # Logging configure.
1056
+ # Corresponds to the JSON property `loggingConfig`
1057
+ # @return [Google::Apis::StoragetransferV1::LoggingConfig]
1058
+ attr_accessor :logging_config
1059
+
987
1060
  # A unique name (within the transfer project) assigned when the job is created.
988
1061
  # If this field is empty in a CreateTransferJobRequest, Storage Transfer Service
989
- # 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
990
1063
  # name for this job. If the specified name is in use by a job, the creation
991
1064
  # request fails with an ALREADY_EXISTS error. This name must start with `"
992
1065
  # transferJobs/"` prefix and end with a letter or a number, and should be no
993
- # more than 128 characters. This name must not start with 'transferJobs/OPI'. '
994
- # transferJobs/OPI' is a reserved prefix. Example: `"transferJobs/^(?!OPI)[A-Za-
995
- # z0-9-._~]*[A-Za-z0-9]$"` Invalid job names will fail with an INVALID_ARGUMENT
996
- # 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.
997
1074
  # Corresponds to the JSON property `name`
998
1075
  # @return [String]
999
1076
  attr_accessor :name
1000
1077
 
1001
- # Specification to configure notifications published to Cloud Pub/Sub.
1002
- # Notifications will be published to the customer-provided topic using the
1003
- # following `PubsubMessage.attributes`: * `"eventType"`: one of the EventType
1004
- # values * `"payloadFormat"`: one of the PayloadFormat values * `"projectId"`:
1005
- # 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
1006
1083
  # transfer_job_name of the `TransferOperation` * `"transferOperationName"`: the
1007
- # name of the `TransferOperation` The `PubsubMessage.data` will contain a
1084
+ # name of the `TransferOperation` The `PubsubMessage.data` contains a
1008
1085
  # TransferOperation resource formatted according to the specified `PayloadFormat`
1009
1086
  # .
1010
1087
  # Corresponds to the JSON property `notificationConfig`
@@ -1046,6 +1123,7 @@ module Google
1046
1123
  @description = args[:description] if args.key?(:description)
1047
1124
  @last_modification_time = args[:last_modification_time] if args.key?(:last_modification_time)
1048
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)
1049
1127
  @name = args[:name] if args.key?(:name)
1050
1128
  @notification_config = args[:notification_config] if args.key?(:notification_config)
1051
1129
  @project_id = args[:project_id] if args.key?(:project_id)
@@ -1079,13 +1157,13 @@ module Google
1079
1157
  # @return [String]
1080
1158
  attr_accessor :name
1081
1159
 
1082
- # Specification to configure notifications published to Cloud Pub/Sub.
1083
- # Notifications will be published to the customer-provided topic using the
1084
- # following `PubsubMessage.attributes`: * `"eventType"`: one of the EventType
1085
- # values * `"payloadFormat"`: one of the PayloadFormat values * `"projectId"`:
1086
- # 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
1087
1165
  # transfer_job_name of the `TransferOperation` * `"transferOperationName"`: the
1088
- # name of the `TransferOperation` The `PubsubMessage.data` will contain a
1166
+ # name of the `TransferOperation` The `PubsubMessage.data` contains a
1089
1167
  # TransferOperation resource formatted according to the specified `PayloadFormat`
1090
1168
  # .
1091
1169
  # Corresponds to the JSON property `notificationConfig`
@@ -1157,8 +1235,8 @@ module Google
1157
1235
 
1158
1236
  # When to overwrite objects that already exist in the sink. The default is that
1159
1237
  # only objects that are different from the source are ovewritten. If true, all
1160
- # objects in the sink whose name matches an object in the source will be
1161
- # 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.
1162
1240
  # Corresponds to the JSON property `overwriteObjectsAlreadyExistingInSink`
1163
1241
  # @return [Boolean]
1164
1242
  attr_accessor :overwrite_objects_already_existing_in_sink
@@ -1226,28 +1304,33 @@ module Google
1226
1304
  # following in mind: * When an object located at `http(s)://hostname:port/` is
1227
1305
  # transferred to a data sink, the name of the object at the data sink is `/`. *
1228
1306
  # If the specified size of an object does not match the actual size of the
1229
- # object fetched, the object will not be transferred. * If the specified MD5
1230
- # does not match the MD5 computed from the transferred bytes, the object
1231
- # transfer will fail. * Ensure that each URL you specify is publicly accessible.
1232
- # For example, in Cloud Storage you can [share an object publicly] (/storage/
1233
- # docs/cloud-console#_sharingdata) and get a link to it. * Storage Transfer
1234
- # Service obeys `robots.txt` rules and requires the source HTTP server to
1235
- # support `Range` requests and to return a `Content-Length` header in each
1236
- # 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.
1237
1315
  # Corresponds to the JSON property `httpDataSource`
1238
1316
  # @return [Google::Apis::StoragetransferV1::HttpData]
1239
1317
  attr_accessor :http_data_source
1240
1318
 
1241
- # Conditions that determine which objects will be transferred. Applies only to
1242
- # Cloud Data Sources such as S3, Azure, and Cloud Storage. The "last
1243
- # modification time" refers to the time of the last change to the object's
1244
- # content or metadata — specifically, this is the `updated` property of Cloud
1245
- # Storage objects, the `LastModified` field of S3 objects, and the `Last-
1246
- # 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.
1247
1325
  # Corresponds to the JSON property `objectConditions`
1248
1326
  # @return [Google::Apis::StoragetransferV1::ObjectConditions]
1249
1327
  attr_accessor :object_conditions
1250
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
+
1251
1334
  # TransferOptions define the actions to be performed on objects in a transfer.
1252
1335
  # Corresponds to the JSON property `transferOptions`
1253
1336
  # @return [Google::Apis::StoragetransferV1::TransferOptions]
@@ -1265,6 +1348,7 @@ module Google
1265
1348
  @gcs_data_source = args[:gcs_data_source] if args.key?(:gcs_data_source)
1266
1349
  @http_data_source = args[:http_data_source] if args.key?(:http_data_source)
1267
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)
1268
1352
  @transfer_options = args[:transfer_options] if args.key?(:transfer_options)
1269
1353
  end
1270
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.10.0"
19
+ GEM_VERSION = "0.14.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 = "20210624"
25
+ REVISION = "20210812"
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
 
@@ -313,6 +325,13 @@ module Google
313
325
  end
314
326
  end
315
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
+
316
335
  class NotificationConfig
317
336
  # @private
318
337
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -352,6 +371,13 @@ module Google
352
371
  end
353
372
  end
354
373
 
374
+ class PosixFilesystem
375
+ # @private
376
+ class Representation < Google::Apis::Core::JsonRepresentation
377
+ property :root_directory, as: 'rootDirectory'
378
+ end
379
+ end
380
+
355
381
  class ResumeTransferOperationRequest
356
382
  # @private
357
383
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -410,6 +436,9 @@ module Google
410
436
  property :bytes_found_only_from_sink, :numeric_string => true, as: 'bytesFoundOnlyFromSink'
411
437
  property :bytes_from_source_failed, :numeric_string => true, as: 'bytesFromSourceFailed'
412
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'
413
442
  property :objects_copied_to_sink, :numeric_string => true, as: 'objectsCopiedToSink'
414
443
  property :objects_deleted_from_sink, :numeric_string => true, as: 'objectsDeletedFromSink'
415
444
  property :objects_deleted_from_source, :numeric_string => true, as: 'objectsDeletedFromSource'
@@ -429,6 +458,8 @@ module Google
429
458
  property :description, as: 'description'
430
459
  property :last_modification_time, as: 'lastModificationTime'
431
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
+
432
463
  property :name, as: 'name'
433
464
  property :notification_config, as: 'notificationConfig', class: Google::Apis::StoragetransferV1::NotificationConfig, decorator: Google::Apis::StoragetransferV1::NotificationConfig::Representation
434
465
 
@@ -485,6 +516,8 @@ module Google
485
516
 
486
517
  property :object_conditions, as: 'objectConditions', class: Google::Apis::StoragetransferV1::ObjectConditions, decorator: Google::Apis::StoragetransferV1::ObjectConditions::Representation
487
518
 
519
+ property :posix_data_source, as: 'posixDataSource', class: Google::Apis::StoragetransferV1::PosixFilesystem, decorator: Google::Apis::StoragetransferV1::PosixFilesystem::Representation
520
+
488
521
  property :transfer_options, as: 'transferOptions', class: Google::Apis::StoragetransferV1::TransferOptions, decorator: Google::Apis::StoragetransferV1::TransferOptions::Representation
489
522
 
490
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.10.0
4
+ version: 0.14.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-07-05 00:00:00.000000000 Z
11
+ date: 2021-08-23 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/master/generated/google-apis-storagetransfer_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-storagetransfer_v1/v0.10.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-storagetransfer_v1/v0.14.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: []