google-apis-storagetransfer_v1 0.8.0 → 0.12.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1b56abd94c152ceacd81118a7c94c5f0e18bacd9b89dac3374e973bda7b469f0
|
4
|
+
data.tar.gz: d449a0385991c9c734fabe907652a1bf986a74874debfcd534503c85ab21e294
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f504b61a81ea5cfac5bf19f7685f41f58e64364bbaec2d62ea4f386e21103583e3bd5afa60d927cf7ad2c5dca80a49db8d46295f8ec206dcc7832e9067576df7
|
7
|
+
data.tar.gz: 3ab1decd9855976d03df38b2b2ad5a97a45d42b200f16424babc6cce0453af5f32891848f611d85052433d4cdbe262c896a72bbdcbd17da3c1d6de879035e424
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,23 @@
|
|
1
1
|
# Release history for google-apis-storagetransfer_v1
|
2
2
|
|
3
|
+
### v0.12.0 (2021-07-14)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210708
|
6
|
+
|
7
|
+
### v0.11.0 (2021-07-07)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210701
|
10
|
+
|
11
|
+
### v0.10.0 (2021-07-01)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210624
|
14
|
+
* Regenerated using generator version 0.4.0
|
15
|
+
|
16
|
+
### v0.9.0 (2021-06-24)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20210617
|
19
|
+
* Regenerated using generator version 0.3.0
|
20
|
+
|
3
21
|
### v0.8.0 (2021-05-20)
|
4
22
|
|
5
23
|
* Unspecified changes
|
@@ -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
|
145
|
-
# Storage
|
146
|
-
#
|
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
|
273
|
-
#
|
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
|
298
|
-
#
|
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 '/'.
|
306
|
-
#
|
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
|
355
|
-
#
|
356
|
-
#
|
357
|
-
#
|
358
|
-
#
|
359
|
-
#
|
360
|
-
#
|
361
|
-
#
|
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
|
434
|
-
#
|
435
|
-
#
|
436
|
-
#
|
437
|
-
#
|
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`
|
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
|
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
|
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
|
476
|
-
#
|
477
|
-
#
|
478
|
-
#
|
479
|
-
#
|
480
|
-
#
|
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. This is not supported for transfers involving PosixFilesystem.
|
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"
|
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]
|
@@ -969,25 +989,29 @@ module Google
|
|
969
989
|
|
970
990
|
# A unique name (within the transfer project) assigned when the job is created.
|
971
991
|
# If this field is empty in a CreateTransferJobRequest, Storage Transfer Service
|
972
|
-
#
|
992
|
+
# assigns a unique name. Otherwise, the specified name is used as the unique
|
973
993
|
# name for this job. If the specified name is in use by a job, the creation
|
974
994
|
# request fails with an ALREADY_EXISTS error. This name must start with `"
|
975
995
|
# transferJobs/"` prefix and end with a letter or a number, and should be no
|
976
|
-
# more than 128 characters.
|
977
|
-
# transferJobs/OPI'
|
978
|
-
#
|
979
|
-
#
|
996
|
+
# more than 128 characters. For transfers involving PosixFilesystem, this name
|
997
|
+
# must start with 'transferJobs/OPI' specifically. For all other transfer types,
|
998
|
+
# this name must not start with 'transferJobs/OPI'. 'transferJobs/OPI' is a
|
999
|
+
# reserved prefix for PosixFilesystem transfers. Non-PosixFilesystem example: `"
|
1000
|
+
# transferJobs/^(?!OPI)[A-Za-z0-9-._~]*[A-Za-z0-9]$"` PosixFilesystem example: `"
|
1001
|
+
# transferJobs/OPI^[A-Za-z0-9-._~]*[A-Za-z0-9]$"` Applications must not rely on
|
1002
|
+
# the enforcement of naming requirements involving OPI. Invalid job names fail
|
1003
|
+
# with an INVALID_ARGUMENT error.
|
980
1004
|
# Corresponds to the JSON property `name`
|
981
1005
|
# @return [String]
|
982
1006
|
attr_accessor :name
|
983
1007
|
|
984
|
-
# Specification to configure notifications published to
|
985
|
-
#
|
986
|
-
#
|
987
|
-
#
|
988
|
-
#
|
1008
|
+
# Specification to configure notifications published to Pub/Sub. Notifications
|
1009
|
+
# are published to the customer-provided topic using the following `
|
1010
|
+
# PubsubMessage.attributes`: * `"eventType"`: one of the EventType values * `"
|
1011
|
+
# payloadFormat"`: one of the PayloadFormat values * `"projectId"`: the
|
1012
|
+
# project_id of the `TransferOperation` * `"transferJobName"`: the
|
989
1013
|
# transfer_job_name of the `TransferOperation` * `"transferOperationName"`: the
|
990
|
-
# name of the `TransferOperation` The `PubsubMessage.data`
|
1014
|
+
# name of the `TransferOperation` The `PubsubMessage.data` contains a
|
991
1015
|
# TransferOperation resource formatted according to the specified `PayloadFormat`
|
992
1016
|
# .
|
993
1017
|
# Corresponds to the JSON property `notificationConfig`
|
@@ -1062,13 +1086,13 @@ module Google
|
|
1062
1086
|
# @return [String]
|
1063
1087
|
attr_accessor :name
|
1064
1088
|
|
1065
|
-
# Specification to configure notifications published to
|
1066
|
-
#
|
1067
|
-
#
|
1068
|
-
#
|
1069
|
-
#
|
1089
|
+
# Specification to configure notifications published to Pub/Sub. Notifications
|
1090
|
+
# are published to the customer-provided topic using the following `
|
1091
|
+
# PubsubMessage.attributes`: * `"eventType"`: one of the EventType values * `"
|
1092
|
+
# payloadFormat"`: one of the PayloadFormat values * `"projectId"`: the
|
1093
|
+
# project_id of the `TransferOperation` * `"transferJobName"`: the
|
1070
1094
|
# transfer_job_name of the `TransferOperation` * `"transferOperationName"`: the
|
1071
|
-
# name of the `TransferOperation` The `PubsubMessage.data`
|
1095
|
+
# name of the `TransferOperation` The `PubsubMessage.data` contains a
|
1072
1096
|
# TransferOperation resource formatted according to the specified `PayloadFormat`
|
1073
1097
|
# .
|
1074
1098
|
# Corresponds to the JSON property `notificationConfig`
|
@@ -1140,8 +1164,8 @@ module Google
|
|
1140
1164
|
|
1141
1165
|
# When to overwrite objects that already exist in the sink. The default is that
|
1142
1166
|
# only objects that are different from the source are ovewritten. If true, all
|
1143
|
-
# objects in the sink whose name matches an object in the source
|
1144
|
-
#
|
1167
|
+
# objects in the sink whose name matches an object in the source are overwritten
|
1168
|
+
# with the source object.
|
1145
1169
|
# Corresponds to the JSON property `overwriteObjectsAlreadyExistingInSink`
|
1146
1170
|
# @return [Boolean]
|
1147
1171
|
attr_accessor :overwrite_objects_already_existing_in_sink
|
@@ -1209,25 +1233,24 @@ module Google
|
|
1209
1233
|
# following in mind: * When an object located at `http(s)://hostname:port/` is
|
1210
1234
|
# transferred to a data sink, the name of the object at the data sink is `/`. *
|
1211
1235
|
# If the specified size of an object does not match the actual size of the
|
1212
|
-
# object fetched, the object
|
1213
|
-
#
|
1214
|
-
#
|
1215
|
-
#
|
1216
|
-
#
|
1217
|
-
#
|
1218
|
-
#
|
1219
|
-
#
|
1220
|
-
# objects to transfer.
|
1236
|
+
# object fetched, the object is not transferred. * If the specified MD5 does not
|
1237
|
+
# match the MD5 computed from the transferred bytes, the object transfer fails. *
|
1238
|
+
# Ensure that each URL you specify is publicly accessible. For example, in
|
1239
|
+
# Cloud Storage you can [share an object publicly] (/storage/docs/cloud-console#
|
1240
|
+
# _sharingdata) and get a link to it. * Storage Transfer Service obeys `robots.
|
1241
|
+
# txt` rules and requires the source HTTP server to support `Range` requests and
|
1242
|
+
# to return a `Content-Length` header in each response. * ObjectConditions have
|
1243
|
+
# no effect when filtering objects to transfer.
|
1221
1244
|
# Corresponds to the JSON property `httpDataSource`
|
1222
1245
|
# @return [Google::Apis::StoragetransferV1::HttpData]
|
1223
1246
|
attr_accessor :http_data_source
|
1224
1247
|
|
1225
|
-
# Conditions that determine which objects
|
1226
|
-
#
|
1227
|
-
#
|
1228
|
-
#
|
1229
|
-
#
|
1230
|
-
#
|
1248
|
+
# Conditions that determine which objects are transferred. Applies only to Cloud
|
1249
|
+
# Data Sources such as S3, Azure, and Cloud Storage. The "last modification time"
|
1250
|
+
# refers to the time of the last change to the object's content or metadata —
|
1251
|
+
# specifically, this is the `updated` property of Cloud Storage objects, the `
|
1252
|
+
# LastModified` field of S3 objects, and the `Last-Modified` header of Azure
|
1253
|
+
# blobs. This is not supported for transfers involving PosixFilesystem.
|
1231
1254
|
# Corresponds to the JSON property `objectConditions`
|
1232
1255
|
# @return [Google::Apis::StoragetransferV1::ObjectConditions]
|
1233
1256
|
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.
|
19
|
+
GEM_VERSION = "0.12.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210708"
|
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.
|
4
|
+
version: 0.12.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-
|
11
|
+
date: 2021-07-19 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.
|
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:
|
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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-storagetransfer_v1/v0.12.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: []
|