google-apis-pubsublite_v1 0.20.0 → 0.21.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: dfb054f128a89c32b8cc91da71a0523f552f68d32dbe2038508b1ab30d1a65e9
4
- data.tar.gz: d7f0527a29475ee1f39e22d66677c7457e41dbb41280f71cd51542b18452ea17
3
+ metadata.gz: c4a09308bee91f03d64e585d4c4492f46d524f7ced82ed1829bdc4f40a17d86b
4
+ data.tar.gz: ebd8c5a5e6ffdb698fc689e8d5cb33dc7e2768a6e573fc3dbf8ce553e87e5ee3
5
5
  SHA512:
6
- metadata.gz: 140a399f7a918b66424a6562e5fec6e92c8fd8d43d4991c9ba43ccfd49b4cf0de3d37c95df3d01c4a2b7a6f105477df182a8cfd9d9efeefbd3b93e041533daab
7
- data.tar.gz: 667e6b41998e50b6d3bd31d27fe2b3a769c3b43aa8ba12d79740747eef3c695895b3d51f59e9f096e385f420d1d0e4c08898a29f4ec387aafd9b74f791e89a3b
6
+ metadata.gz: 72afca6a371ec51c399f34e8b8e89efd77e2eae6a17494dd85bded3508ba669ab4aebcafa05dfc2f5e7c998d2209ce76a775d3b8396d4dcfc5a534e78ab0cc0c
7
+ data.tar.gz: 770bdc0a0b6a8d4e8345eda7216eaf1102d03d80ef7dd6783373a62de0cd53e2af0a3be69eddff542b5c7ed1deff82fec7726f96b35bcab472b3cad317ad2212
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-pubsublite_v1
2
2
 
3
+ ### v0.21.0 (2022-12-10)
4
+
5
+ * Regenerated from discovery document revision 20221206
6
+
3
7
  ### v0.20.0 (2022-10-20)
4
8
 
5
9
  * Regenerated using generator version 0.11.0
@@ -311,6 +311,52 @@ module Google
311
311
  end
312
312
  end
313
313
 
314
+ # Configuration for a Pub/Sub Lite subscription that writes messages to a
315
+ # destination. User subscriber clients must not connect to this subscription.
316
+ class ExportConfig
317
+ include Google::Apis::Core::Hashable
318
+
319
+ # Output only. The current state of the export, which may be different to the
320
+ # desired state due to errors. This field is output only.
321
+ # Corresponds to the JSON property `currentState`
322
+ # @return [String]
323
+ attr_accessor :current_state
324
+
325
+ # Optional. The name of an optional Pub/Sub Lite topic to publish messages that
326
+ # can not be exported to the destination. For example, the message can not be
327
+ # published to the Pub/Sub service because it does not satisfy the constraints
328
+ # documented at https://cloud.google.com/pubsub/docs/publisher. Structured like:
329
+ # projects/`project_number`/locations/`location`/topics/`topic_id`. Must be
330
+ # within the same project and location as the subscription. The topic may be
331
+ # changed or removed.
332
+ # Corresponds to the JSON property `deadLetterTopic`
333
+ # @return [String]
334
+ attr_accessor :dead_letter_topic
335
+
336
+ # The desired state of this export. Setting this to values other than `ACTIVE`
337
+ # and `PAUSED` will result in an error.
338
+ # Corresponds to the JSON property `desiredState`
339
+ # @return [String]
340
+ attr_accessor :desired_state
341
+
342
+ # Configuration for exporting to a Pub/Sub topic.
343
+ # Corresponds to the JSON property `pubsubConfig`
344
+ # @return [Google::Apis::PubsubliteV1::PubSubConfig]
345
+ attr_accessor :pubsub_config
346
+
347
+ def initialize(**args)
348
+ update!(**args)
349
+ end
350
+
351
+ # Update properties of this object
352
+ def update!(**args)
353
+ @current_state = args[:current_state] if args.key?(:current_state)
354
+ @dead_letter_topic = args[:dead_letter_topic] if args.key?(:dead_letter_topic)
355
+ @desired_state = args[:desired_state] if args.key?(:desired_state)
356
+ @pubsub_config = args[:pubsub_config] if args.key?(:pubsub_config)
357
+ end
358
+ end
359
+
314
360
  # The response message for Operations.ListOperations.
315
361
  class ListOperationsResponse
316
362
  include Google::Apis::Core::Hashable
@@ -663,6 +709,26 @@ module Google
663
709
  end
664
710
  end
665
711
 
712
+ # Configuration for exporting to a Pub/Sub topic.
713
+ class PubSubConfig
714
+ include Google::Apis::Core::Hashable
715
+
716
+ # The name of the Pub/Sub topic. Structured like: projects/`project_number`/
717
+ # topics/`topic_id`. The topic may be changed.
718
+ # Corresponds to the JSON property `topic`
719
+ # @return [String]
720
+ attr_accessor :topic
721
+
722
+ def initialize(**args)
723
+ update!(**args)
724
+ end
725
+
726
+ # Update properties of this object
727
+ def update!(**args)
728
+ @topic = args[:topic] if args.key?(:topic)
729
+ end
730
+ end
731
+
666
732
  # Metadata about a reservation resource.
667
733
  class Reservation
668
734
  include Google::Apis::Core::Hashable
@@ -829,6 +895,12 @@ module Google
829
895
  # @return [Google::Apis::PubsubliteV1::DeliveryConfig]
830
896
  attr_accessor :delivery_config
831
897
 
898
+ # Configuration for a Pub/Sub Lite subscription that writes messages to a
899
+ # destination. User subscriber clients must not connect to this subscription.
900
+ # Corresponds to the JSON property `exportConfig`
901
+ # @return [Google::Apis::PubsubliteV1::ExportConfig]
902
+ attr_accessor :export_config
903
+
832
904
  # The name of the subscription. Structured like: projects/`project_number`/
833
905
  # locations/`location`/subscriptions/`subscription_id`
834
906
  # Corresponds to the JSON property `name`
@@ -848,6 +920,7 @@ module Google
848
920
  # Update properties of this object
849
921
  def update!(**args)
850
922
  @delivery_config = args[:delivery_config] if args.key?(:delivery_config)
923
+ @export_config = args[:export_config] if args.key?(:export_config)
851
924
  @name = args[:name] if args.key?(:name)
852
925
  @topic = args[:topic] if args.key?(:topic)
853
926
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module PubsubliteV1
18
18
  # Version of the google-apis-pubsublite_v1 gem
19
- GEM_VERSION = "0.20.0"
19
+ GEM_VERSION = "0.21.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 = "20220318"
25
+ REVISION = "20221206"
26
26
  end
27
27
  end
28
28
  end
@@ -100,6 +100,12 @@ module Google
100
100
  include Google::Apis::Core::JsonObjectSupport
101
101
  end
102
102
 
103
+ class ExportConfig
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
103
109
  class ListOperationsResponse
104
110
  class Representation < Google::Apis::Core::JsonRepresentation; end
105
111
 
@@ -166,6 +172,12 @@ module Google
166
172
  include Google::Apis::Core::JsonObjectSupport
167
173
  end
168
174
 
175
+ class PubSubConfig
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
169
181
  class Reservation
170
182
  class Representation < Google::Apis::Core::JsonRepresentation; end
171
183
 
@@ -328,6 +340,17 @@ module Google
328
340
  end
329
341
  end
330
342
 
343
+ class ExportConfig
344
+ # @private
345
+ class Representation < Google::Apis::Core::JsonRepresentation
346
+ property :current_state, as: 'currentState'
347
+ property :dead_letter_topic, as: 'deadLetterTopic'
348
+ property :desired_state, as: 'desiredState'
349
+ property :pubsub_config, as: 'pubsubConfig', class: Google::Apis::PubsubliteV1::PubSubConfig, decorator: Google::Apis::PubsubliteV1::PubSubConfig::Representation
350
+
351
+ end
352
+ end
353
+
331
354
  class ListOperationsResponse
332
355
  # @private
333
356
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -430,6 +453,13 @@ module Google
430
453
  end
431
454
  end
432
455
 
456
+ class PubSubConfig
457
+ # @private
458
+ class Representation < Google::Apis::Core::JsonRepresentation
459
+ property :topic, as: 'topic'
460
+ end
461
+ end
462
+
433
463
  class Reservation
434
464
  # @private
435
465
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -482,6 +512,8 @@ module Google
482
512
  class Representation < Google::Apis::Core::JsonRepresentation
483
513
  property :delivery_config, as: 'deliveryConfig', class: Google::Apis::PubsubliteV1::DeliveryConfig, decorator: Google::Apis::PubsubliteV1::DeliveryConfig::Representation
484
514
 
515
+ property :export_config, as: 'exportConfig', class: Google::Apis::PubsubliteV1::ExportConfig, decorator: Google::Apis::PubsubliteV1::ExportConfig::Representation
516
+
485
517
  property :name, as: 'name'
486
518
  property :topic, as: 'topic'
487
519
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-pubsublite_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.20.0
4
+ version: 0.21.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-21 00:00:00.000000000 Z
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-pubsublite_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-pubsublite_v1/v0.20.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-pubsublite_v1/v0.21.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-pubsublite_v1
63
63
  post_install_message:
64
64
  rdoc_options: []