google-apis-pubsublite_v1 0.20.0 → 0.22.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: 5dd4bec10f78a63b2fc7da5cb5e5cb4f00dd0e26d7d572deda6172ce273a89e1
|
4
|
+
data.tar.gz: 99625e1b6bb06cca39f4b2384117c24115a64d9037642879969dbea6f7dd5b37
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bdb21b66969a6bb408f8b38ceddf249760fcc7b1aa229e4e54e6b1a76c2682ed9805a29962c12817cd8b7519ff597895fe7c8378499da10ffe4c62b0904e8ffd
|
7
|
+
data.tar.gz: 336fba6970c6cd7f1c3d1ddae3f5fac54147ed63008117df3033645cd85507bfd28373c11e177df8cc5aa9fa5f5be0272bcb4a869e46d496336f581cb45e695c
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-pubsublite_v1
|
2
2
|
|
3
|
+
### v0.22.0 (2023-02-15)
|
4
|
+
|
5
|
+
* Regenerated using generator version 0.12.0
|
6
|
+
|
7
|
+
### v0.21.0 (2022-12-10)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20221206
|
10
|
+
|
3
11
|
### v0.20.0 (2022-10-20)
|
4
12
|
|
5
13
|
* 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.
|
19
|
+
GEM_VERSION = "0.22.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
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.
|
4
|
+
version: 0.22.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:
|
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.
|
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.
|
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-pubsublite_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-pubsublite_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-pubsublite_v1/v0.22.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: []
|
@@ -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.
|
78
|
+
rubygems_version: 3.4.2
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Pub/Sub Lite API V1
|