google-apis-storagetransfer_v1 0.10.0 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/storagetransfer_v1/classes.rb +62 -60
- data/lib/google/apis/storagetransfer_v1/gem_version.rb +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e69093917c5bb14b83b0ecf1cee7024c392addb24c864e786049f56644a01d60
|
4
|
+
data.tar.gz: 61f7783aad6aa0b5f0f90a8e9f872a7031ccdf7aafa5037e1375238ffc062600
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 162c37287e34b69d5e9bde9a6b80ad70f09e1cb0879c0150d6a1677cabf9630f631f56e1cd33aafd7ba55b1682e8ecec26797fa88e3c2ac2e181d736f760946a
|
7
|
+
data.tar.gz: d4c7dc4cf09f61a85ccccb28f1fbb5101b4f03d0161af888bfa9da5b627d8880512e52fe7f3cb489a37a198e19e80b62c5510a3ac21d1f2186bf9b42e16bf24d
|
data/CHANGELOG.md
CHANGED
@@ -76,10 +76,13 @@ module Google
|
|
76
76
|
# @return [String]
|
77
77
|
attr_accessor :path
|
78
78
|
|
79
|
-
# Input only.
|
80
|
-
# AssumeRoleWithWebIdentity
|
81
|
-
#
|
82
|
-
#
|
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.
|
83
86
|
# Corresponds to the JSON property `roleArn`
|
84
87
|
# @return [String]
|
85
88
|
attr_accessor :role_arn
|
@@ -281,8 +284,8 @@ module Google
|
|
281
284
|
# @return [Fixnum]
|
282
285
|
attr_accessor :error_count
|
283
286
|
|
284
|
-
# Error samples. At most 5 error log entries
|
285
|
-
#
|
287
|
+
# Error samples. At most 5 error log entries are recorded for a given error code
|
288
|
+
# for a single transfer operation.
|
286
289
|
# Corresponds to the JSON property `errorLogEntries`
|
287
290
|
# @return [Array<Google::Apis::StoragetransferV1::ErrorLogEntry>]
|
288
291
|
attr_accessor :error_log_entries
|
@@ -369,14 +372,14 @@ module Google
|
|
369
372
|
# following in mind: * When an object located at `http(s)://hostname:port/` is
|
370
373
|
# transferred to a data sink, the name of the object at the data sink is `/`. *
|
371
374
|
# If the specified size of an object does not match the actual size of the
|
372
|
-
# object fetched, the object
|
373
|
-
#
|
374
|
-
#
|
375
|
-
#
|
376
|
-
#
|
377
|
-
#
|
378
|
-
#
|
379
|
-
#
|
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.
|
380
383
|
class HttpData
|
381
384
|
include Google::Apis::Core::Hashable
|
382
385
|
|
@@ -447,13 +450,13 @@ module Google
|
|
447
450
|
end
|
448
451
|
end
|
449
452
|
|
450
|
-
# Specification to configure notifications published to
|
451
|
-
#
|
452
|
-
#
|
453
|
-
#
|
454
|
-
#
|
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
|
455
458
|
# transfer_job_name of the `TransferOperation` * `"transferOperationName"`: the
|
456
|
-
# name of the `TransferOperation` The `PubsubMessage.data`
|
459
|
+
# name of the `TransferOperation` The `PubsubMessage.data` contains a
|
457
460
|
# TransferOperation resource formatted according to the specified `PayloadFormat`
|
458
461
|
# .
|
459
462
|
class NotificationConfig
|
@@ -470,9 +473,9 @@ module Google
|
|
470
473
|
# @return [String]
|
471
474
|
attr_accessor :payload_format
|
472
475
|
|
473
|
-
# Required. The `Topic.name` of the
|
476
|
+
# Required. The `Topic.name` of the Pub/Sub topic to which to publish
|
474
477
|
# notifications. Must be of the format: `projects/`project`/topics/`topic``. Not
|
475
|
-
# matching this format
|
478
|
+
# matching this format results in an INVALID_ARGUMENT error.
|
476
479
|
# Corresponds to the JSON property `pubsubTopic`
|
477
480
|
# @return [String]
|
478
481
|
attr_accessor :pubsub_topic
|
@@ -489,12 +492,12 @@ module Google
|
|
489
492
|
end
|
490
493
|
end
|
491
494
|
|
492
|
-
# Conditions that determine which objects
|
493
|
-
#
|
494
|
-
#
|
495
|
-
#
|
496
|
-
#
|
497
|
-
#
|
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.
|
498
501
|
class ObjectConditions
|
499
502
|
include Google::Apis::Core::Hashable
|
500
503
|
|
@@ -541,7 +544,7 @@ module Google
|
|
541
544
|
attr_accessor :include_prefixes
|
542
545
|
|
543
546
|
# If specified, only objects with a "last modification time" before this
|
544
|
-
# timestamp and objects that don't have a "last modification time"
|
547
|
+
# timestamp and objects that don't have a "last modification time" are
|
545
548
|
# transferred.
|
546
549
|
# Corresponds to the JSON property `lastModifiedBefore`
|
547
550
|
# @return [String]
|
@@ -986,25 +989,24 @@ module Google
|
|
986
989
|
|
987
990
|
# A unique name (within the transfer project) assigned when the job is created.
|
988
991
|
# If this field is empty in a CreateTransferJobRequest, Storage Transfer Service
|
989
|
-
#
|
992
|
+
# assigns a unique name. Otherwise, the specified name is used as the unique
|
990
993
|
# name for this job. If the specified name is in use by a job, the creation
|
991
994
|
# request fails with an ALREADY_EXISTS error. This name must start with `"
|
992
995
|
# transferJobs/"` prefix and end with a letter or a number, and should be no
|
993
996
|
# more than 128 characters. This name must not start with 'transferJobs/OPI'. '
|
994
997
|
# transferJobs/OPI' is a reserved prefix. Example: `"transferJobs/^(?!OPI)[A-Za-
|
995
|
-
# z0-9-._~]*[A-Za-z0-9]$"` Invalid job names
|
996
|
-
# error.
|
998
|
+
# z0-9-._~]*[A-Za-z0-9]$"` Invalid job names fail with an INVALID_ARGUMENT error.
|
997
999
|
# Corresponds to the JSON property `name`
|
998
1000
|
# @return [String]
|
999
1001
|
attr_accessor :name
|
1000
1002
|
|
1001
|
-
# Specification to configure notifications published to
|
1002
|
-
#
|
1003
|
-
#
|
1004
|
-
#
|
1005
|
-
#
|
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
|
1006
1008
|
# transfer_job_name of the `TransferOperation` * `"transferOperationName"`: the
|
1007
|
-
# name of the `TransferOperation` The `PubsubMessage.data`
|
1009
|
+
# name of the `TransferOperation` The `PubsubMessage.data` contains a
|
1008
1010
|
# TransferOperation resource formatted according to the specified `PayloadFormat`
|
1009
1011
|
# .
|
1010
1012
|
# Corresponds to the JSON property `notificationConfig`
|
@@ -1079,13 +1081,13 @@ module Google
|
|
1079
1081
|
# @return [String]
|
1080
1082
|
attr_accessor :name
|
1081
1083
|
|
1082
|
-
# Specification to configure notifications published to
|
1083
|
-
#
|
1084
|
-
#
|
1085
|
-
#
|
1086
|
-
#
|
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
|
1087
1089
|
# transfer_job_name of the `TransferOperation` * `"transferOperationName"`: the
|
1088
|
-
# name of the `TransferOperation` The `PubsubMessage.data`
|
1090
|
+
# name of the `TransferOperation` The `PubsubMessage.data` contains a
|
1089
1091
|
# TransferOperation resource formatted according to the specified `PayloadFormat`
|
1090
1092
|
# .
|
1091
1093
|
# Corresponds to the JSON property `notificationConfig`
|
@@ -1157,8 +1159,8 @@ module Google
|
|
1157
1159
|
|
1158
1160
|
# When to overwrite objects that already exist in the sink. The default is that
|
1159
1161
|
# 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
|
1161
|
-
#
|
1162
|
+
# objects in the sink whose name matches an object in the source are overwritten
|
1163
|
+
# with the source object.
|
1162
1164
|
# Corresponds to the JSON property `overwriteObjectsAlreadyExistingInSink`
|
1163
1165
|
# @return [Boolean]
|
1164
1166
|
attr_accessor :overwrite_objects_already_existing_in_sink
|
@@ -1226,24 +1228,24 @@ module Google
|
|
1226
1228
|
# following in mind: * When an object located at `http(s)://hostname:port/` is
|
1227
1229
|
# transferred to a data sink, the name of the object at the data sink is `/`. *
|
1228
1230
|
# If the specified size of an object does not match the actual size of the
|
1229
|
-
# object fetched, the object
|
1230
|
-
#
|
1231
|
-
#
|
1232
|
-
#
|
1233
|
-
#
|
1234
|
-
#
|
1235
|
-
#
|
1236
|
-
#
|
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.
|
1237
1239
|
# Corresponds to the JSON property `httpDataSource`
|
1238
1240
|
# @return [Google::Apis::StoragetransferV1::HttpData]
|
1239
1241
|
attr_accessor :http_data_source
|
1240
1242
|
|
1241
|
-
# Conditions that determine which objects
|
1242
|
-
#
|
1243
|
-
#
|
1244
|
-
#
|
1245
|
-
#
|
1246
|
-
#
|
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.
|
1247
1249
|
# Corresponds to the JSON property `objectConditions`
|
1248
1250
|
# @return [Google::Apis::StoragetransferV1::ObjectConditions]
|
1249
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.
|
19
|
+
GEM_VERSION = "0.11.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 = "
|
25
|
+
REVISION = "20210701"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
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.
|
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-07-
|
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
|
@@ -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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-storagetransfer_v1/v0.11.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: []
|