google-apis-storagetransfer_v1 0.5.0 → 0.10.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: 254123704604921c8e30562570ce1e4c9837f15666939882e6bb7af6c95bef87
|
4
|
+
data.tar.gz: 679c01a531d04c5685acc3aebd66a9d71b9598be9870f289bae54ccddd380268
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d89189a254f8ba858415a6c5f809ee60d83f75e8088caf809ffd7294000f686a8d79188db0821afbfd5723538c717578bc449348235aa89dfc7a4de09faae836
|
7
|
+
data.tar.gz: b2d41686bd7ab2c64a6bb121fd91b89c495d75caf70726ac0af2f4b32f0f3ef013ff1e363cf45f67bf5e04cb775f9e9ec8a6362cff31bf5f7d3265a7ddaf8bde
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,28 @@
|
|
1
1
|
# Release history for google-apis-storagetransfer_v1
|
2
2
|
|
3
|
+
### v0.10.0 (2021-07-01)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210624
|
6
|
+
* Regenerated using generator version 0.4.0
|
7
|
+
|
8
|
+
### v0.9.0 (2021-06-24)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20210617
|
11
|
+
* Regenerated using generator version 0.3.0
|
12
|
+
|
13
|
+
### v0.8.0 (2021-05-20)
|
14
|
+
|
15
|
+
* Unspecified changes
|
16
|
+
|
17
|
+
### v0.7.0 (2021-04-29)
|
18
|
+
|
19
|
+
* Regenerated from discovery document revision 20210427
|
20
|
+
|
21
|
+
### v0.6.0 (2021-03-31)
|
22
|
+
|
23
|
+
* Regenerated from discovery document revision 20210325
|
24
|
+
* Regenerated using generator version 0.2.0
|
25
|
+
|
3
26
|
### v0.5.0 (2021-03-04)
|
4
27
|
|
5
28
|
* Unspecified changes
|
@@ -30,7 +30,7 @@ module Google
|
|
30
30
|
# This is NOT the gem version.
|
31
31
|
VERSION = 'V1'
|
32
32
|
|
33
|
-
#
|
33
|
+
# See, edit, configure, and delete your Google Cloud Platform data
|
34
34
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
35
35
|
end
|
36
36
|
end
|
@@ -76,6 +76,14 @@ 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.
|
83
|
+
# Corresponds to the JSON property `roleArn`
|
84
|
+
# @return [String]
|
85
|
+
attr_accessor :role_arn
|
86
|
+
|
79
87
|
def initialize(**args)
|
80
88
|
update!(**args)
|
81
89
|
end
|
@@ -85,6 +93,7 @@ module Google
|
|
85
93
|
@aws_access_key = args[:aws_access_key] if args.key?(:aws_access_key)
|
86
94
|
@bucket_name = args[:bucket_name] if args.key?(:bucket_name)
|
87
95
|
@path = args[:path] if args.key?(:path)
|
96
|
+
@role_arn = args[:role_arn] if args.key?(:role_arn)
|
88
97
|
end
|
89
98
|
end
|
90
99
|
|
@@ -141,9 +150,12 @@ module Google
|
|
141
150
|
class AzureCredentials
|
142
151
|
include Google::Apis::Core::Hashable
|
143
152
|
|
144
|
-
# Required. Azure shared access signature
|
145
|
-
# Storage
|
146
|
-
#
|
153
|
+
# Required. Azure shared access signature (SAS). *Note:*Copying data from Azure
|
154
|
+
# Data Lake Storage (ADLS) Gen 2 is in [Preview](/products/#product-launch-
|
155
|
+
# stages). During Preview, if you are copying data from ADLS Gen 2, you must use
|
156
|
+
# an account SAS. For more information about SAS, see [Grant limited access to
|
157
|
+
# Azure Storage resources using shared access signatures (SAS)](https://docs.
|
158
|
+
# microsoft.com/en-us/azure/storage/common/storage-sas-overview).
|
147
159
|
# Corresponds to the JSON property `sasToken`
|
148
160
|
# @return [String]
|
149
161
|
attr_accessor :sas_token
|
@@ -294,16 +306,16 @@ module Google
|
|
294
306
|
class GcsData
|
295
307
|
include Google::Apis::Core::Hashable
|
296
308
|
|
297
|
-
# Required. Cloud Storage bucket name
|
298
|
-
#
|
309
|
+
# Required. Cloud Storage bucket name. Must meet [Bucket Name Requirements](/
|
310
|
+
# storage/docs/naming#requirements).
|
299
311
|
# Corresponds to the JSON property `bucketName`
|
300
312
|
# @return [String]
|
301
313
|
attr_accessor :bucket_name
|
302
314
|
|
303
315
|
# Root path to transfer objects. Must be an empty string or full path name that
|
304
316
|
# ends with a '/'. This field is treated as an object prefix. As such, it should
|
305
|
-
# generally not begin with a '/'.
|
306
|
-
#
|
317
|
+
# generally not begin with a '/'. The root path value must meet [Object Name
|
318
|
+
# Requirements](/storage/docs/naming#objectnames).
|
307
319
|
# Corresponds to the JSON property `path`
|
308
320
|
# @return [String]
|
309
321
|
attr_accessor :path
|
@@ -328,6 +340,11 @@ module Google
|
|
328
340
|
# @return [String]
|
329
341
|
attr_accessor :account_email
|
330
342
|
|
343
|
+
# Unique identifier for the service account.
|
344
|
+
# Corresponds to the JSON property `subjectId`
|
345
|
+
# @return [String]
|
346
|
+
attr_accessor :subject_id
|
347
|
+
|
331
348
|
def initialize(**args)
|
332
349
|
update!(**args)
|
333
350
|
end
|
@@ -335,6 +352,7 @@ module Google
|
|
335
352
|
# Update properties of this object
|
336
353
|
def update!(**args)
|
337
354
|
@account_email = args[:account_email] if args.key?(:account_email)
|
355
|
+
@subject_id = args[:subject_id] if args.key?(:subject_id)
|
338
356
|
end
|
339
357
|
end
|
340
358
|
|
@@ -354,12 +372,11 @@ module Google
|
|
354
372
|
# object fetched, the object will not be transferred. * If the specified MD5
|
355
373
|
# does not match the MD5 computed from the transferred bytes, the object
|
356
374
|
# transfer will fail. * Ensure that each URL you specify is publicly accessible.
|
357
|
-
# For example, in Cloud Storage you can [share an object publicly] (
|
358
|
-
#
|
359
|
-
#
|
360
|
-
#
|
361
|
-
#
|
362
|
-
# objects to transfer.
|
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.
|
363
380
|
class HttpData
|
364
381
|
include Google::Apis::Core::Hashable
|
365
382
|
|
@@ -962,8 +979,7 @@ module Google
|
|
962
979
|
attr_accessor :last_modification_time
|
963
980
|
|
964
981
|
# The name of the most recently started TransferOperation of this JobConfig.
|
965
|
-
# Present if
|
966
|
-
# this JobConfig.
|
982
|
+
# Present if a TransferOperation has been created for this JobConfig.
|
967
983
|
# Corresponds to the JSON property `latestOperationName`
|
968
984
|
# @return [String]
|
969
985
|
attr_accessor :latest_operation_name
|
@@ -974,8 +990,10 @@ module Google
|
|
974
990
|
# name for this job. If the specified name is in use by a job, the creation
|
975
991
|
# request fails with an ALREADY_EXISTS error. This name must start with `"
|
976
992
|
# transferJobs/"` prefix and end with a letter or a number, and should be no
|
977
|
-
# more than 128 characters.
|
978
|
-
#
|
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.
|
979
997
|
# Corresponds to the JSON property `name`
|
980
998
|
# @return [String]
|
981
999
|
attr_accessor :name
|
@@ -1211,12 +1229,11 @@ module Google
|
|
1211
1229
|
# object fetched, the object will not be transferred. * If the specified MD5
|
1212
1230
|
# does not match the MD5 computed from the transferred bytes, the object
|
1213
1231
|
# transfer will fail. * Ensure that each URL you specify is publicly accessible.
|
1214
|
-
# For example, in Cloud Storage you can [share an object publicly] (
|
1215
|
-
#
|
1216
|
-
#
|
1217
|
-
#
|
1218
|
-
#
|
1219
|
-
# objects to transfer.
|
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.
|
1220
1237
|
# Corresponds to the JSON property `httpDataSource`
|
1221
1238
|
# @return [Google::Apis::StoragetransferV1::HttpData]
|
1222
1239
|
attr_accessor :http_data_source
|
@@ -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.10.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 = "20210624"
|
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.10.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-05 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.10.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.
|
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
|