google-apis-storagetransfer_v1 0.35.0 → 0.36.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c36773a417c40000bffb693d1c813d79de9e4a2645136d1664f7979f7936e64a
|
4
|
+
data.tar.gz: f656f7900804849b479f0f8d8b5b22999d8996dcd05b1be94219da4566ed71f1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f7fbaafb5a977e40618d3ab9cd1f358039c3f2dbf7076f614c4ec28ada93d0ec5cf95825d5bafe61cb5189f116dd56e2b06821880ac25cf4ed4f72f1f9c791f9
|
7
|
+
data.tar.gz: e2e582247b72436a25eaa20519e71540e4c63e7be928d8073c663b84ea949d838b8374d77840dd56bfc4a52d214ca95f11792e172c6dbcd185d004d86cc8d40b
|
data/CHANGELOG.md
CHANGED
@@ -403,6 +403,44 @@ module Google
|
|
403
403
|
end
|
404
404
|
end
|
405
405
|
|
406
|
+
# Specifies the Event-driven transfer options. Event-driven transfers listen to
|
407
|
+
# an event stream to transfer updated files.
|
408
|
+
class EventStream
|
409
|
+
include Google::Apis::Core::Hashable
|
410
|
+
|
411
|
+
# Specifies the data and time at which Storage Transfer Service stops listening
|
412
|
+
# for events from this stream. After this time, any transfers in progress will
|
413
|
+
# complete, but no new transfers are initiated.
|
414
|
+
# Corresponds to the JSON property `eventStreamExpirationTime`
|
415
|
+
# @return [String]
|
416
|
+
attr_accessor :event_stream_expiration_time
|
417
|
+
|
418
|
+
# Specifies the date and time that Storage Transfer Service starts listening for
|
419
|
+
# events from this stream. If no start time is specified or start time is in the
|
420
|
+
# past, Storage Transfer Service starts listening immediately.
|
421
|
+
# Corresponds to the JSON property `eventStreamStartTime`
|
422
|
+
# @return [String]
|
423
|
+
attr_accessor :event_stream_start_time
|
424
|
+
|
425
|
+
# Required. Specifies a unique name of the resource such as AWS SQS ARN in the
|
426
|
+
# form 'arn:aws:sqs:region:account_id:queue_name', or Pub/Sub subscription
|
427
|
+
# resource name in the form 'projects/`project`/subscriptions/`sub`'.
|
428
|
+
# Corresponds to the JSON property `name`
|
429
|
+
# @return [String]
|
430
|
+
attr_accessor :name
|
431
|
+
|
432
|
+
def initialize(**args)
|
433
|
+
update!(**args)
|
434
|
+
end
|
435
|
+
|
436
|
+
# Update properties of this object
|
437
|
+
def update!(**args)
|
438
|
+
@event_stream_expiration_time = args[:event_stream_expiration_time] if args.key?(:event_stream_expiration_time)
|
439
|
+
@event_stream_start_time = args[:event_stream_start_time] if args.key?(:event_stream_start_time)
|
440
|
+
@name = args[:name] if args.key?(:name)
|
441
|
+
end
|
442
|
+
end
|
443
|
+
|
406
444
|
# In a GcsData resource, an object's name is the Cloud Storage object's name and
|
407
445
|
# its "last modification time" refers to the object's `updated` property of
|
408
446
|
# Cloud Storage objects, which changes when the content or the metadata of the
|
@@ -1337,6 +1375,12 @@ module Google
|
|
1337
1375
|
# @return [String]
|
1338
1376
|
attr_accessor :description
|
1339
1377
|
|
1378
|
+
# Specifies the Event-driven transfer options. Event-driven transfers listen to
|
1379
|
+
# an event stream to transfer updated files.
|
1380
|
+
# Corresponds to the JSON property `eventStream`
|
1381
|
+
# @return [Google::Apis::StoragetransferV1::EventStream]
|
1382
|
+
attr_accessor :event_stream
|
1383
|
+
|
1340
1384
|
# Output only. The time that the transfer job was last modified.
|
1341
1385
|
# Corresponds to the JSON property `lastModificationTime`
|
1342
1386
|
# @return [String]
|
@@ -1422,6 +1466,7 @@ module Google
|
|
1422
1466
|
@creation_time = args[:creation_time] if args.key?(:creation_time)
|
1423
1467
|
@deletion_time = args[:deletion_time] if args.key?(:deletion_time)
|
1424
1468
|
@description = args[:description] if args.key?(:description)
|
1469
|
+
@event_stream = args[:event_stream] if args.key?(:event_stream)
|
1425
1470
|
@last_modification_time = args[:last_modification_time] if args.key?(:last_modification_time)
|
1426
1471
|
@latest_operation_name = args[:latest_operation_name] if args.key?(:latest_operation_name)
|
1427
1472
|
@logging_config = args[:logging_config] if args.key?(:logging_config)
|
@@ -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.36.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.11.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20221201"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -94,6 +94,12 @@ module Google
|
|
94
94
|
include Google::Apis::Core::JsonObjectSupport
|
95
95
|
end
|
96
96
|
|
97
|
+
class EventStream
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
|
+
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
101
|
+
end
|
102
|
+
|
97
103
|
class GcsData
|
98
104
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
105
|
|
@@ -356,6 +362,15 @@ module Google
|
|
356
362
|
end
|
357
363
|
end
|
358
364
|
|
365
|
+
class EventStream
|
366
|
+
# @private
|
367
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
368
|
+
property :event_stream_expiration_time, as: 'eventStreamExpirationTime'
|
369
|
+
property :event_stream_start_time, as: 'eventStreamStartTime'
|
370
|
+
property :name, as: 'name'
|
371
|
+
end
|
372
|
+
end
|
373
|
+
|
359
374
|
class GcsData
|
360
375
|
# @private
|
361
376
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -566,6 +581,8 @@ module Google
|
|
566
581
|
property :creation_time, as: 'creationTime'
|
567
582
|
property :deletion_time, as: 'deletionTime'
|
568
583
|
property :description, as: 'description'
|
584
|
+
property :event_stream, as: 'eventStream', class: Google::Apis::StoragetransferV1::EventStream, decorator: Google::Apis::StoragetransferV1::EventStream::Representation
|
585
|
+
|
569
586
|
property :last_modification_time, as: 'lastModificationTime'
|
570
587
|
property :latest_operation_name, as: 'latestOperationName'
|
571
588
|
property :logging_config, as: 'loggingConfig', class: Google::Apis::StoragetransferV1::LoggingConfig, decorator: Google::Apis::StoragetransferV1::LoggingConfig::Representation
|
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.36.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: 2022-
|
11
|
+
date: 2022-12-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/main/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.36.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-storagetransfer_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|