google-apis-storagetransfer_v1 0.35.0 → 0.37.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: bd669cc483eec4528c6f6e03357d10b6e6f90bd9041bbcfcda37cdc62aa55e8f
4
- data.tar.gz: 81878af70d53fb2c8ea02a9666b6e2c77f2cb3fd63feea393d7a46fa30509492
3
+ metadata.gz: a6bea8e4c3dbd456e1d0fda13ea709f4ebdd6fa4838f664a6e2f89386aa09ee3
4
+ data.tar.gz: d66e7e57619e8ced7cfd32a503c11fbf37883ffb38e660236a42134dd8a7b32b
5
5
  SHA512:
6
- metadata.gz: f378c254569de7a324ca45cec847311dda4e549baeae46dddc5454364daab7e45f3f47e9cda3ac601b6c508fe4530eeb2804494bf9b1bb8912331b5035f5accc
7
- data.tar.gz: 7ae5463b460585ca4d9cb148b89eaadffc6696c20d94535c3389427bb44521d2bf5c3fdddbb0ea2e28fd7421cb7fada256f573e6b0921bdce87e5254577fd08f
6
+ metadata.gz: 8a1bd78c75d06b59d83166d82c05dcc0340531ff1532173846b57550dc979ba964e452f86c96fbb6f277314541c5b3078acc63d17946ff9d68272a7d9c52d6d3
7
+ data.tar.gz: 7414741333ea5d057630d5649af9e058cdbaa36a3e873a3e3b3bdbb7f95a6edcb2c44f25dc7980578b0044b941948b12692470a2fce58d38795f5d81b33ba894
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-storagetransfer_v1
2
2
 
3
+ ### v0.37.0 (2023-02-19)
4
+
5
+ * Regenerated using generator version 0.12.0
6
+
7
+ ### v0.36.0 (2022-12-07)
8
+
9
+ * Regenerated from discovery document revision 20221201
10
+
3
11
  ### v0.35.0 (2022-10-27)
4
12
 
5
13
  * Regenerated using generator version 0.11.0
@@ -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.35.0"
19
+ GEM_VERSION = "0.37.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.11.0"
22
+ GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220921"
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.35.0
4
+ version: 0.37.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-10-31 00:00:00.000000000 Z
11
+ date: 2023-02-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.9.1
19
+ version: 0.11.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.9.1
29
+ version: 0.11.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.35.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-storagetransfer_v1/v0.37.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: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.3.14
78
+ rubygems_version: 3.4.2
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Storage Transfer API V1