google-apis-storagetransfer_v1 0.6.0 → 0.11.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: 305479bdffb83be01832c4730e409749509632b8cbbc4f801be98e4ae35aa349
4
- data.tar.gz: 9c4bf66c84fcd8e09d94058c3b50b23e0050df32c9e090de0cb98f9fb07b0bb2
3
+ metadata.gz: e69093917c5bb14b83b0ecf1cee7024c392addb24c864e786049f56644a01d60
4
+ data.tar.gz: 61f7783aad6aa0b5f0f90a8e9f872a7031ccdf7aafa5037e1375238ffc062600
5
5
  SHA512:
6
- metadata.gz: 9df6a8e6c04f7da755789930968e8dcffe15d3538b05aaaacfbff5da8937dfab1465b45d73a804c87a236bdfbdbfb4000701f1cbe6205c0e2bbe98d05c190ba2
7
- data.tar.gz: c4aa126f7a9ad156fadce7b3ca6f2737011a1a9ce8dbf0035310bf03a4ed9019b02a5dc0d9d06b861e15762f789edd9e882b0f48155c001192d9c596fb457900
6
+ metadata.gz: 162c37287e34b69d5e9bde9a6b80ad70f09e1cb0879c0150d6a1677cabf9630f631f56e1cd33aafd7ba55b1682e8ecec26797fa88e3c2ac2e181d736f760946a
7
+ data.tar.gz: d4c7dc4cf09f61a85ccccb28f1fbb5101b4f03d0161af888bfa9da5b627d8880512e52fe7f3cb489a37a198e19e80b62c5510a3ac21d1f2186bf9b42e16bf24d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # Release history for google-apis-storagetransfer_v1
2
2
 
3
+ ### v0.11.0 (2021-07-07)
4
+
5
+ * Regenerated from discovery document revision 20210701
6
+
7
+ ### v0.10.0 (2021-07-01)
8
+
9
+ * Regenerated from discovery document revision 20210624
10
+ * Regenerated using generator version 0.4.0
11
+
12
+ ### v0.9.0 (2021-06-24)
13
+
14
+ * Regenerated from discovery document revision 20210617
15
+ * Regenerated using generator version 0.3.0
16
+
17
+ ### v0.8.0 (2021-05-20)
18
+
19
+ * Unspecified changes
20
+
21
+ ### v0.7.0 (2021-04-29)
22
+
23
+ * Regenerated from discovery document revision 20210427
24
+
3
25
  ### v0.6.0 (2021-03-31)
4
26
 
5
27
  * Regenerated from discovery document revision 20210325
@@ -76,6 +76,17 @@ module Google
76
76
  # @return [String]
77
77
  attr_accessor :path
78
78
 
79
+ # Input only. The Amazon Resource Name (ARN) of the role to support temporary
80
+ # credentials via `AssumeRoleWithWebIdentity`. For more information about ARNs,
81
+ # see [IAM ARNs](https://docs.aws.amazon.com/IAM/latest/UserGuide/
82
+ # reference_identifiers.html#identifiers-arns). When a role ARN is provided,
83
+ # Transfer Service fetches temporary credentials for the session using a `
84
+ # AssumeRoleWithWebIdentity` call for the provided role using the
85
+ # GoogleServiceAccount for this project.
86
+ # Corresponds to the JSON property `roleArn`
87
+ # @return [String]
88
+ attr_accessor :role_arn
89
+
79
90
  def initialize(**args)
80
91
  update!(**args)
81
92
  end
@@ -85,6 +96,7 @@ module Google
85
96
  @aws_access_key = args[:aws_access_key] if args.key?(:aws_access_key)
86
97
  @bucket_name = args[:bucket_name] if args.key?(:bucket_name)
87
98
  @path = args[:path] if args.key?(:path)
99
+ @role_arn = args[:role_arn] if args.key?(:role_arn)
88
100
  end
89
101
  end
90
102
 
@@ -141,9 +153,12 @@ module Google
141
153
  class AzureCredentials
142
154
  include Google::Apis::Core::Hashable
143
155
 
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)).
156
+ # Required. Azure shared access signature (SAS). *Note:*Copying data from Azure
157
+ # Data Lake Storage (ADLS) Gen 2 is in [Preview](/products/#product-launch-
158
+ # stages). During Preview, if you are copying data from ADLS Gen 2, you must use
159
+ # an account SAS. For more information about SAS, see [Grant limited access to
160
+ # Azure Storage resources using shared access signatures (SAS)](https://docs.
161
+ # microsoft.com/en-us/azure/storage/common/storage-sas-overview).
147
162
  # Corresponds to the JSON property `sasToken`
148
163
  # @return [String]
149
164
  attr_accessor :sas_token
@@ -269,8 +284,8 @@ module Google
269
284
  # @return [Fixnum]
270
285
  attr_accessor :error_count
271
286
 
272
- # Error samples. At most 5 error log entries will be recorded for a given error
273
- # code for a single transfer operation.
287
+ # Error samples. At most 5 error log entries are recorded for a given error code
288
+ # for a single transfer operation.
274
289
  # Corresponds to the JSON property `errorLogEntries`
275
290
  # @return [Array<Google::Apis::StoragetransferV1::ErrorLogEntry>]
276
291
  attr_accessor :error_log_entries
@@ -294,16 +309,16 @@ module Google
294
309
  class GcsData
295
310
  include Google::Apis::Core::Hashable
296
311
 
297
- # Required. Cloud Storage bucket name (see [Bucket Name Requirements](https://
298
- # cloud.google.com/storage/docs/naming#requirements)).
312
+ # Required. Cloud Storage bucket name. Must meet [Bucket Name Requirements](/
313
+ # storage/docs/naming#requirements).
299
314
  # Corresponds to the JSON property `bucketName`
300
315
  # @return [String]
301
316
  attr_accessor :bucket_name
302
317
 
303
318
  # Root path to transfer objects. Must be an empty string or full path name that
304
319
  # ends with a '/'. This field is treated as an object prefix. As such, it should
305
- # generally not begin with a '/'. (must meet Object Name Requirements](https://
306
- # cloud.google.com/storage/docs/naming#objectnames)).
320
+ # generally not begin with a '/'. The root path value must meet [Object Name
321
+ # Requirements](/storage/docs/naming#objectnames).
307
322
  # Corresponds to the JSON property `path`
308
323
  # @return [String]
309
324
  attr_accessor :path
@@ -328,6 +343,11 @@ module Google
328
343
  # @return [String]
329
344
  attr_accessor :account_email
330
345
 
346
+ # Unique identifier for the service account.
347
+ # Corresponds to the JSON property `subjectId`
348
+ # @return [String]
349
+ attr_accessor :subject_id
350
+
331
351
  def initialize(**args)
332
352
  update!(**args)
333
353
  end
@@ -335,6 +355,7 @@ module Google
335
355
  # Update properties of this object
336
356
  def update!(**args)
337
357
  @account_email = args[:account_email] if args.key?(:account_email)
358
+ @subject_id = args[:subject_id] if args.key?(:subject_id)
338
359
  end
339
360
  end
340
361
 
@@ -351,15 +372,14 @@ module Google
351
372
  # following in mind: * When an object located at `http(s)://hostname:port/` is
352
373
  # transferred to a data sink, the name of the object at the data sink is `/`. *
353
374
  # 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] (https://
358
- # cloud.google.com/storage/docs/cloud-console#_sharingdata) and get a link to it.
359
- # * Storage Transfer Service obeys `robots.txt` rules and requires the source
360
- # HTTP server to support `Range` requests and to return a `Content-Length`
361
- # header in each response. * ObjectConditions have no effect when filtering
362
- # objects to transfer.
375
+ # object fetched, the object is not transferred. * If the specified MD5 does not
376
+ # match the MD5 computed from the transferred bytes, the object transfer fails. *
377
+ # Ensure that each URL you specify is publicly accessible. For example, in
378
+ # Cloud Storage you can [share an object publicly] (/storage/docs/cloud-console#
379
+ # _sharingdata) and get a link to it. * Storage Transfer Service obeys `robots.
380
+ # txt` rules and requires the source HTTP server to support `Range` requests and
381
+ # to return a `Content-Length` header in each response. * ObjectConditions have
382
+ # no effect when filtering objects to transfer.
363
383
  class HttpData
364
384
  include Google::Apis::Core::Hashable
365
385
 
@@ -430,13 +450,13 @@ module Google
430
450
  end
431
451
  end
432
452
 
433
- # Specification to configure notifications published to Cloud Pub/Sub.
434
- # Notifications will be published to the customer-provided topic using the
435
- # following `PubsubMessage.attributes`: * `"eventType"`: one of the EventType
436
- # values * `"payloadFormat"`: one of the PayloadFormat values * `"projectId"`:
437
- # the project_id of the `TransferOperation` * `"transferJobName"`: the
453
+ # Specification to configure notifications published to Pub/Sub. Notifications
454
+ # are published to the customer-provided topic using the following `
455
+ # PubsubMessage.attributes`: * `"eventType"`: one of the EventType values * `"
456
+ # payloadFormat"`: one of the PayloadFormat values * `"projectId"`: the
457
+ # project_id of the `TransferOperation` * `"transferJobName"`: the
438
458
  # transfer_job_name of the `TransferOperation` * `"transferOperationName"`: the
439
- # name of the `TransferOperation` The `PubsubMessage.data` will contain a
459
+ # name of the `TransferOperation` The `PubsubMessage.data` contains a
440
460
  # TransferOperation resource formatted according to the specified `PayloadFormat`
441
461
  # .
442
462
  class NotificationConfig
@@ -453,9 +473,9 @@ module Google
453
473
  # @return [String]
454
474
  attr_accessor :payload_format
455
475
 
456
- # Required. The `Topic.name` of the Cloud Pub/Sub topic to which to publish
476
+ # Required. The `Topic.name` of the Pub/Sub topic to which to publish
457
477
  # notifications. Must be of the format: `projects/`project`/topics/`topic``. Not
458
- # matching this format will result in an INVALID_ARGUMENT error.
478
+ # matching this format results in an INVALID_ARGUMENT error.
459
479
  # Corresponds to the JSON property `pubsubTopic`
460
480
  # @return [String]
461
481
  attr_accessor :pubsub_topic
@@ -472,12 +492,12 @@ module Google
472
492
  end
473
493
  end
474
494
 
475
- # Conditions that determine which objects will be transferred. Applies only to
476
- # Cloud Data Sources such as S3, Azure, and Cloud Storage. The "last
477
- # modification time" refers to the time of the last change to the object's
478
- # content or metadata — specifically, this is the `updated` property of Cloud
479
- # Storage objects, the `LastModified` field of S3 objects, and the `Last-
480
- # Modified` header of Azure blobs.
495
+ # Conditions that determine which objects are transferred. Applies only to Cloud
496
+ # Data Sources such as S3, Azure, and Cloud Storage. The "last modification time"
497
+ # refers to the time of the last change to the object's content or metadata —
498
+ # specifically, this is the `updated` property of Cloud Storage objects, the `
499
+ # LastModified` field of S3 objects, and the `Last-Modified` header of Azure
500
+ # blobs.
481
501
  class ObjectConditions
482
502
  include Google::Apis::Core::Hashable
483
503
 
@@ -524,7 +544,7 @@ module Google
524
544
  attr_accessor :include_prefixes
525
545
 
526
546
  # If specified, only objects with a "last modification time" before this
527
- # timestamp and objects that don't have a "last modification time" will be
547
+ # timestamp and objects that don't have a "last modification time" are
528
548
  # transferred.
529
549
  # Corresponds to the JSON property `lastModifiedBefore`
530
550
  # @return [String]
@@ -962,31 +982,31 @@ module Google
962
982
  attr_accessor :last_modification_time
963
983
 
964
984
  # The name of the most recently started TransferOperation of this JobConfig.
965
- # Present if and only if at least one TransferOperation has been created for
966
- # this JobConfig.
985
+ # Present if a TransferOperation has been created for this JobConfig.
967
986
  # Corresponds to the JSON property `latestOperationName`
968
987
  # @return [String]
969
988
  attr_accessor :latest_operation_name
970
989
 
971
990
  # A unique name (within the transfer project) assigned when the job is created.
972
991
  # If this field is empty in a CreateTransferJobRequest, Storage Transfer Service
973
- # will assign a unique name. Otherwise, the specified name is used as the unique
992
+ # assigns a unique name. Otherwise, the specified name is used as the unique
974
993
  # name for this job. If the specified name is in use by a job, the creation
975
994
  # request fails with an ALREADY_EXISTS error. This name must start with `"
976
995
  # transferJobs/"` prefix and end with a letter or a number, and should be no
977
- # more than 128 characters. Example: `"transferJobs/[A-Za-z0-9-._~]*[A-Za-z0-9]$"
978
- # ` Invalid job names will fail with an INVALID_ARGUMENT error.
996
+ # more than 128 characters. This name must not start with 'transferJobs/OPI'. '
997
+ # transferJobs/OPI' is a reserved prefix. Example: `"transferJobs/^(?!OPI)[A-Za-
998
+ # z0-9-._~]*[A-Za-z0-9]$"` Invalid job names fail with an INVALID_ARGUMENT error.
979
999
  # Corresponds to the JSON property `name`
980
1000
  # @return [String]
981
1001
  attr_accessor :name
982
1002
 
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
1003
+ # Specification to configure notifications published to Pub/Sub. Notifications
1004
+ # are published to the customer-provided topic using the following `
1005
+ # PubsubMessage.attributes`: * `"eventType"`: one of the EventType values * `"
1006
+ # payloadFormat"`: one of the PayloadFormat values * `"projectId"`: the
1007
+ # project_id of the `TransferOperation` * `"transferJobName"`: the
988
1008
  # transfer_job_name of the `TransferOperation` * `"transferOperationName"`: the
989
- # name of the `TransferOperation` The `PubsubMessage.data` will contain a
1009
+ # name of the `TransferOperation` The `PubsubMessage.data` contains a
990
1010
  # TransferOperation resource formatted according to the specified `PayloadFormat`
991
1011
  # .
992
1012
  # Corresponds to the JSON property `notificationConfig`
@@ -1061,13 +1081,13 @@ module Google
1061
1081
  # @return [String]
1062
1082
  attr_accessor :name
1063
1083
 
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
1084
+ # Specification to configure notifications published to Pub/Sub. Notifications
1085
+ # are published to the customer-provided topic using the following `
1086
+ # PubsubMessage.attributes`: * `"eventType"`: one of the EventType values * `"
1087
+ # payloadFormat"`: one of the PayloadFormat values * `"projectId"`: the
1088
+ # project_id of the `TransferOperation` * `"transferJobName"`: the
1069
1089
  # transfer_job_name of the `TransferOperation` * `"transferOperationName"`: the
1070
- # name of the `TransferOperation` The `PubsubMessage.data` will contain a
1090
+ # name of the `TransferOperation` The `PubsubMessage.data` contains a
1071
1091
  # TransferOperation resource formatted according to the specified `PayloadFormat`
1072
1092
  # .
1073
1093
  # Corresponds to the JSON property `notificationConfig`
@@ -1139,8 +1159,8 @@ module Google
1139
1159
 
1140
1160
  # When to overwrite objects that already exist in the sink. The default is that
1141
1161
  # 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.
1162
+ # objects in the sink whose name matches an object in the source are overwritten
1163
+ # with the source object.
1144
1164
  # Corresponds to the JSON property `overwriteObjectsAlreadyExistingInSink`
1145
1165
  # @return [Boolean]
1146
1166
  attr_accessor :overwrite_objects_already_existing_in_sink
@@ -1208,25 +1228,24 @@ module Google
1208
1228
  # following in mind: * When an object located at `http(s)://hostname:port/` is
1209
1229
  # transferred to a data sink, the name of the object at the data sink is `/`. *
1210
1230
  # 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] (https://
1215
- # cloud.google.com/storage/docs/cloud-console#_sharingdata) and get a link to it.
1216
- # * Storage Transfer Service obeys `robots.txt` rules and requires the source
1217
- # HTTP server to support `Range` requests and to return a `Content-Length`
1218
- # header in each response. * ObjectConditions have no effect when filtering
1219
- # objects to transfer.
1231
+ # object fetched, the object is not transferred. * If the specified MD5 does not
1232
+ # match the MD5 computed from the transferred bytes, the object transfer fails. *
1233
+ # Ensure that each URL you specify is publicly accessible. For example, in
1234
+ # Cloud Storage you can [share an object publicly] (/storage/docs/cloud-console#
1235
+ # _sharingdata) and get a link to it. * Storage Transfer Service obeys `robots.
1236
+ # txt` rules and requires the source HTTP server to support `Range` requests and
1237
+ # to return a `Content-Length` header in each response. * ObjectConditions have
1238
+ # no effect when filtering objects to transfer.
1220
1239
  # Corresponds to the JSON property `httpDataSource`
1221
1240
  # @return [Google::Apis::StoragetransferV1::HttpData]
1222
1241
  attr_accessor :http_data_source
1223
1242
 
1224
- # Conditions that determine which objects will be transferred. Applies only to
1225
- # Cloud Data Sources such as S3, Azure, and Cloud Storage. The "last
1226
- # modification time" refers to the time of the last change to the object's
1227
- # content or metadata — specifically, this is the `updated` property of Cloud
1228
- # Storage objects, the `LastModified` field of S3 objects, and the `Last-
1229
- # Modified` header of Azure blobs.
1243
+ # Conditions that determine which objects are transferred. Applies only to Cloud
1244
+ # Data Sources such as S3, Azure, and Cloud Storage. The "last modification time"
1245
+ # refers to the time of the last change to the object's content or metadata —
1246
+ # specifically, this is the `updated` property of Cloud Storage objects, the `
1247
+ # LastModified` field of S3 objects, and the `Last-Modified` header of Azure
1248
+ # blobs.
1230
1249
  # Corresponds to the JSON property `objectConditions`
1231
1250
  # @return [Google::Apis::StoragetransferV1::ObjectConditions]
1232
1251
  attr_accessor :object_conditions
@@ -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.6.0"
19
+ GEM_VERSION = "0.11.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.2.0"
22
+ GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210325"
25
+ REVISION = "20210701"
26
26
  end
27
27
  end
28
28
  end
@@ -211,6 +211,7 @@ module Google
211
211
 
212
212
  property :bucket_name, as: 'bucketName'
213
213
  property :path, as: 'path'
214
+ property :role_arn, as: 'roleArn'
214
215
  end
215
216
  end
216
217
 
@@ -283,6 +284,7 @@ module Google
283
284
  # @private
284
285
  class Representation < Google::Apis::Core::JsonRepresentation
285
286
  property :account_email, as: 'accountEmail'
287
+ property :subject_id, as: 'subjectId'
286
288
  end
287
289
  end
288
290
 
metadata CHANGED
@@ -1,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-storagetransfer_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.11.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-04-05 00:00:00.000000000 Z
11
+ date: 2021-07-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.1'
19
+ version: '0.4'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: 2.a
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '0.4'
30
+ - - "<"
25
31
  - !ruby/object:Gem::Version
26
- version: '0.1'
32
+ version: 2.a
27
33
  description: This is the simple REST client for Storage Transfer API V1. Simple REST
28
34
  clients are Ruby client libraries that provide access to Google services via their
29
35
  HTTP REST API endpoints. These libraries are generated and updated automatically
@@ -52,7 +58,7 @@ licenses:
52
58
  metadata:
53
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-storagetransfer_v1/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-storagetransfer_v1/v0.6.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-storagetransfer_v1/v0.11.0
56
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-storagetransfer_v1
57
63
  post_install_message:
58
64
  rdoc_options: []
@@ -69,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
75
  - !ruby/object:Gem::Version
70
76
  version: '0'
71
77
  requirements: []
72
- rubygems_version: 3.2.13
78
+ rubygems_version: 3.2.17
73
79
  signing_key:
74
80
  specification_version: 4
75
81
  summary: Simple REST client for Storage Transfer API V1