google-apis-pubsub_v1 0.10.0 → 0.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7221fbdb8d3734af80016069d6160c557d6ff2aa818889387c38d6fb23dda66b
4
- data.tar.gz: a517229870ff5b517a040a6d6120c578a5fbdfa3d8146866550f252be4c73f6d
3
+ metadata.gz: 7cecd6d4e710c5365d2f077621ae8dea62204a798c318c4bc99a7dafe71938fd
4
+ data.tar.gz: 032b95ad0150300c6493dd64a765f258df32dc5dacd2a8daac93b981698f1858
5
5
  SHA512:
6
- metadata.gz: 74eb89878d6550f124cfdecf82745c083dcb8e6de5f9192e5e193d27b78eccd20981a34289ee83223dbaeb6c2248549640eab2d349b2843aea9e5401c2850822
7
- data.tar.gz: 8b5cd49a80d28ad57badd2791f5fe5dd60d0463546d79ab7c85b805118953ee86a7842ff93f8585954823bb726c5499fa88c0c45573f89e371369570238ad661
6
+ metadata.gz: 75baaa90f50a26f3b9ad4a3ae9a8557feb556f4388cc9aae6d5c9b51408c475d0fbe2d25189bee3716481dee4f0b57d47e7e418e84591781edf0821aabe22814
7
+ data.tar.gz: '05488e3a50b699fdf5f45947320222afcb11ef2021aca85f2c020b343b0cf0e23298c0d59b64f0f8c693b9f60873a052c0a652f39175bc4df99483b7b90a12ce'
data/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Release history for google-apis-pubsub_v1
2
2
 
3
+ ### v0.13.0 (2022-02-22)
4
+
5
+ * Regenerated from discovery document revision 20220207
6
+ * Regenerated using generator version 0.4.1
7
+
8
+ ### v0.12.0 (2022-01-08)
9
+
10
+ * Regenerated from discovery document revision 20211231
11
+ * Unspecified changes
12
+
13
+ ### v0.11.0 (2021-12-10)
14
+
15
+ * Regenerated from discovery document revision 20211130
16
+
3
17
  ### v0.10.0 (2021-11-19)
4
18
 
5
19
  * Regenerated from discovery document revision 20211108
data/OVERVIEW.md CHANGED
@@ -51,7 +51,7 @@ require "google/apis/pubsub_v1"
51
51
  client = Google::Apis::PubsubV1::PubsubService.new
52
52
 
53
53
  # Authenticate calls
54
- client.authentication = # ... use the googleauth gem to create credentials
54
+ client.authorization = # ... use the googleauth gem to create credentials
55
55
  ```
56
56
 
57
57
  See the class reference docs for information on the methods you can call from a client.
@@ -1172,6 +1172,19 @@ module Google
1172
1172
  attr_accessor :detached
1173
1173
  alias_method :detached?, :detached
1174
1174
 
1175
+ # If true, Pub/Sub provides the following guarantees for the delivery of a
1176
+ # message with a given value of `message_id` on this subscription: * The message
1177
+ # sent to a subscriber is guaranteed not to be resent before the message's
1178
+ # acknowledgement deadline expires. * An acknowledged message will not be resent
1179
+ # to a subscriber. Note that subscribers may still receive multiple copies of a
1180
+ # message when `enable_exactly_once_delivery` is true if the message was
1181
+ # published multiple times by a publisher client. These copies are considered
1182
+ # distinct by Pub/Sub and have distinct `message_id` values.
1183
+ # Corresponds to the JSON property `enableExactlyOnceDelivery`
1184
+ # @return [Boolean]
1185
+ attr_accessor :enable_exactly_once_delivery
1186
+ alias_method :enable_exactly_once_delivery?, :enable_exactly_once_delivery
1187
+
1175
1188
  # If true, messages published with the same `ordering_key` in `PubsubMessage`
1176
1189
  # will be delivered to the subscribers in the order in which they are received
1177
1190
  # by the Pub/Sub system. Otherwise, they may be delivered in any order.
@@ -1245,6 +1258,12 @@ module Google
1245
1258
  # @return [Google::Apis::PubsubV1::RetryPolicy]
1246
1259
  attr_accessor :retry_policy
1247
1260
 
1261
+ # Output only. An output-only field indicating whether or not the subscription
1262
+ # can receive messages.
1263
+ # Corresponds to the JSON property `state`
1264
+ # @return [String]
1265
+ attr_accessor :state
1266
+
1248
1267
  # Required. The name of the topic from which this subscription is receiving
1249
1268
  # messages. Format is `projects/`project`/topics/`topic``. The value of this
1250
1269
  # field will be `_deleted-topic_` if the topic has been deleted.
@@ -1271,6 +1290,7 @@ module Google
1271
1290
  @ack_deadline_seconds = args[:ack_deadline_seconds] if args.key?(:ack_deadline_seconds)
1272
1291
  @dead_letter_policy = args[:dead_letter_policy] if args.key?(:dead_letter_policy)
1273
1292
  @detached = args[:detached] if args.key?(:detached)
1293
+ @enable_exactly_once_delivery = args[:enable_exactly_once_delivery] if args.key?(:enable_exactly_once_delivery)
1274
1294
  @enable_message_ordering = args[:enable_message_ordering] if args.key?(:enable_message_ordering)
1275
1295
  @expiration_policy = args[:expiration_policy] if args.key?(:expiration_policy)
1276
1296
  @filter = args[:filter] if args.key?(:filter)
@@ -1280,6 +1300,7 @@ module Google
1280
1300
  @push_config = args[:push_config] if args.key?(:push_config)
1281
1301
  @retain_acked_messages = args[:retain_acked_messages] if args.key?(:retain_acked_messages)
1282
1302
  @retry_policy = args[:retry_policy] if args.key?(:retry_policy)
1303
+ @state = args[:state] if args.key?(:state)
1283
1304
  @topic = args[:topic] if args.key?(:topic)
1284
1305
  @topic_message_retention_duration = args[:topic_message_retention_duration] if args.key?(:topic_message_retention_duration)
1285
1306
  end
@@ -1349,7 +1370,7 @@ module Google
1349
1370
  # google.com/pubsub/docs/replay-overview#seek_to_a_time) that is up to `
1350
1371
  # message_retention_duration` in the past. If this field is not set, message
1351
1372
  # retention is controlled by settings on individual subscriptions. Cannot be
1352
- # more than 7 days or less than 10 minutes.
1373
+ # more than 31 days or less than 10 minutes.
1353
1374
  # Corresponds to the JSON property `messageRetentionDuration`
1354
1375
  # @return [String]
1355
1376
  attr_accessor :message_retention_duration
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module PubsubV1
18
18
  # Version of the google-apis-pubsub_v1 gem
19
- GEM_VERSION = "0.10.0"
19
+ GEM_VERSION = "0.13.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.0"
22
+ GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20211108"
25
+ REVISION = "20220207"
26
26
  end
27
27
  end
28
28
  end
@@ -567,6 +567,7 @@ module Google
567
567
  property :dead_letter_policy, as: 'deadLetterPolicy', class: Google::Apis::PubsubV1::DeadLetterPolicy, decorator: Google::Apis::PubsubV1::DeadLetterPolicy::Representation
568
568
 
569
569
  property :detached, as: 'detached'
570
+ property :enable_exactly_once_delivery, as: 'enableExactlyOnceDelivery'
570
571
  property :enable_message_ordering, as: 'enableMessageOrdering'
571
572
  property :expiration_policy, as: 'expirationPolicy', class: Google::Apis::PubsubV1::ExpirationPolicy, decorator: Google::Apis::PubsubV1::ExpirationPolicy::Representation
572
573
 
@@ -579,6 +580,7 @@ module Google
579
580
  property :retain_acked_messages, as: 'retainAckedMessages'
580
581
  property :retry_policy, as: 'retryPolicy', class: Google::Apis::PubsubV1::RetryPolicy, decorator: Google::Apis::PubsubV1::RetryPolicy::Representation
581
582
 
583
+ property :state, as: 'state'
582
584
  property :topic, as: 'topic'
583
585
  property :topic_message_retention_duration, as: 'topicMessageRetentionDuration'
584
586
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-pubsub_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.13.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-12-06 00:00:00.000000000 Z
11
+ date: 2022-02-28 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-pubsub_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-pubsub_v1/v0.10.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-pubsub_v1/v0.13.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-pubsub_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.2.17
78
+ rubygems_version: 3.3.5
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud Pub/Sub API V1