google-apis-pubsub_v1 0.11.0 → 0.14.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 +4 -4
- data/CHANGELOG.md +14 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/pubsub_v1/classes.rb +29 -4
- data/lib/google/apis/pubsub_v1/gem_version.rb +3 -3
- data/lib/google/apis/pubsub_v1/representations.rb +3 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 58b9cbf48e9a6152f951f64b4f6db3b2150711760656374c36997401152326c9
|
4
|
+
data.tar.gz: e8ef28004a6e01a83035caa62749a8bd19eabc1e88d599d6ba2b203aef926a8d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cffade831a367990a349d304d5d1d478f5d32dbc3df8b3ee92411ae724b4a709f7ec5b15de7de679516f3de5eec73fc5065004aaf71a4a0357ea5480fdcf09bc
|
7
|
+
data.tar.gz: 9551172f4d2033e267ae4a967e8b5c9b7863e0198bf81faacb76bc74db54b55a42aa83bdba209c0a7179f9df4695c700cb2c778328c886138ad32b90e91552a7
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,19 @@
|
|
1
1
|
# Release history for google-apis-pubsub_v1
|
2
2
|
|
3
|
+
### v0.14.0 (2022-03-13)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220301
|
6
|
+
|
7
|
+
### v0.13.0 (2022-02-22)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220207
|
10
|
+
* Regenerated using generator version 0.4.1
|
11
|
+
|
12
|
+
### v0.12.0 (2022-01-08)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20211231
|
15
|
+
* Unspecified changes
|
16
|
+
|
3
17
|
### v0.11.0 (2021-12-10)
|
4
18
|
|
5
19
|
* Regenerated from discovery document revision 20211130
|
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.
|
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.
|
@@ -541,9 +541,8 @@ module Google
|
|
541
541
|
attr_accessor :audience
|
542
542
|
|
543
543
|
# [Service account email](https://cloud.google.com/iam/docs/service-accounts) to
|
544
|
-
# be used for generating the OIDC token.
|
545
|
-
#
|
546
|
-
# serviceAccounts.actAs permission for the service account.
|
544
|
+
# be used for generating the OIDC token. See [Setting up push authentication](/
|
545
|
+
# pubsub/docs/push#setting_up_for_push_authentication) for more details.
|
547
546
|
# Corresponds to the JSON property `serviceAccountEmail`
|
548
547
|
# @return [String]
|
549
548
|
attr_accessor :service_account_email
|
@@ -945,6 +944,16 @@ module Google
|
|
945
944
|
# @return [String]
|
946
945
|
attr_accessor :name
|
947
946
|
|
947
|
+
# Output only. The timestamp that the revision was created.
|
948
|
+
# Corresponds to the JSON property `revisionCreateTime`
|
949
|
+
# @return [String]
|
950
|
+
attr_accessor :revision_create_time
|
951
|
+
|
952
|
+
# Output only. Immutable. The revision ID of the schema.
|
953
|
+
# Corresponds to the JSON property `revisionId`
|
954
|
+
# @return [String]
|
955
|
+
attr_accessor :revision_id
|
956
|
+
|
948
957
|
# The type of the schema definition.
|
949
958
|
# Corresponds to the JSON property `type`
|
950
959
|
# @return [String]
|
@@ -958,6 +967,8 @@ module Google
|
|
958
967
|
def update!(**args)
|
959
968
|
@definition = args[:definition] if args.key?(:definition)
|
960
969
|
@name = args[:name] if args.key?(:name)
|
970
|
+
@revision_create_time = args[:revision_create_time] if args.key?(:revision_create_time)
|
971
|
+
@revision_id = args[:revision_id] if args.key?(:revision_id)
|
961
972
|
@type = args[:type] if args.key?(:type)
|
962
973
|
end
|
963
974
|
end
|
@@ -1172,6 +1183,19 @@ module Google
|
|
1172
1183
|
attr_accessor :detached
|
1173
1184
|
alias_method :detached?, :detached
|
1174
1185
|
|
1186
|
+
# If true, Pub/Sub provides the following guarantees for the delivery of a
|
1187
|
+
# message with a given value of `message_id` on this subscription: * The message
|
1188
|
+
# sent to a subscriber is guaranteed not to be resent before the message's
|
1189
|
+
# acknowledgement deadline expires. * An acknowledged message will not be resent
|
1190
|
+
# to a subscriber. Note that subscribers may still receive multiple copies of a
|
1191
|
+
# message when `enable_exactly_once_delivery` is true if the message was
|
1192
|
+
# published multiple times by a publisher client. These copies are considered
|
1193
|
+
# distinct by Pub/Sub and have distinct `message_id` values.
|
1194
|
+
# Corresponds to the JSON property `enableExactlyOnceDelivery`
|
1195
|
+
# @return [Boolean]
|
1196
|
+
attr_accessor :enable_exactly_once_delivery
|
1197
|
+
alias_method :enable_exactly_once_delivery?, :enable_exactly_once_delivery
|
1198
|
+
|
1175
1199
|
# If true, messages published with the same `ordering_key` in `PubsubMessage`
|
1176
1200
|
# will be delivered to the subscribers in the order in which they are received
|
1177
1201
|
# by the Pub/Sub system. Otherwise, they may be delivered in any order.
|
@@ -1277,6 +1301,7 @@ module Google
|
|
1277
1301
|
@ack_deadline_seconds = args[:ack_deadline_seconds] if args.key?(:ack_deadline_seconds)
|
1278
1302
|
@dead_letter_policy = args[:dead_letter_policy] if args.key?(:dead_letter_policy)
|
1279
1303
|
@detached = args[:detached] if args.key?(:detached)
|
1304
|
+
@enable_exactly_once_delivery = args[:enable_exactly_once_delivery] if args.key?(:enable_exactly_once_delivery)
|
1280
1305
|
@enable_message_ordering = args[:enable_message_ordering] if args.key?(:enable_message_ordering)
|
1281
1306
|
@expiration_policy = args[:expiration_policy] if args.key?(:expiration_policy)
|
1282
1307
|
@filter = args[:filter] if args.key?(:filter)
|
@@ -1356,7 +1381,7 @@ module Google
|
|
1356
1381
|
# google.com/pubsub/docs/replay-overview#seek_to_a_time) that is up to `
|
1357
1382
|
# message_retention_duration` in the past. If this field is not set, message
|
1358
1383
|
# retention is controlled by settings on individual subscriptions. Cannot be
|
1359
|
-
# more than
|
1384
|
+
# more than 31 days or less than 10 minutes.
|
1360
1385
|
# Corresponds to the JSON property `messageRetentionDuration`
|
1361
1386
|
# @return [String]
|
1362
1387
|
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.
|
19
|
+
GEM_VERSION = "0.14.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.4.
|
22
|
+
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220301"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -516,6 +516,8 @@ module Google
|
|
516
516
|
class Representation < Google::Apis::Core::JsonRepresentation
|
517
517
|
property :definition, as: 'definition'
|
518
518
|
property :name, as: 'name'
|
519
|
+
property :revision_create_time, as: 'revisionCreateTime'
|
520
|
+
property :revision_id, as: 'revisionId'
|
519
521
|
property :type, as: 'type'
|
520
522
|
end
|
521
523
|
end
|
@@ -567,6 +569,7 @@ module Google
|
|
567
569
|
property :dead_letter_policy, as: 'deadLetterPolicy', class: Google::Apis::PubsubV1::DeadLetterPolicy, decorator: Google::Apis::PubsubV1::DeadLetterPolicy::Representation
|
568
570
|
|
569
571
|
property :detached, as: 'detached'
|
572
|
+
property :enable_exactly_once_delivery, as: 'enableExactlyOnceDelivery'
|
570
573
|
property :enable_message_ordering, as: 'enableMessageOrdering'
|
571
574
|
property :expiration_policy, as: 'expirationPolicy', class: Google::Apis::PubsubV1::ExpirationPolicy, decorator: Google::Apis::PubsubV1::ExpirationPolicy::Representation
|
572
575
|
|
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.
|
4
|
+
version: 0.14.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: 2022-03-14 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-pubsub_v1/v0.14.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.
|
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
|