google-apis-pubsub_v1 0.12.0 → 0.15.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: 6d6c44ac29570c1dc70e1c3b10233348b74c44b5e72d818e8268e4682079df9d
4
- data.tar.gz: 7f6d77571edadfbbf62125f432375b5f666db5622a38cfbb632110604bb3d2ee
3
+ metadata.gz: eb638b26fee4cbd6c5946f0b3d8b03179adf957744398b93d0130fddc2f6b708
4
+ data.tar.gz: 84b3cc9d647bd131ddf207a4d425427593971abe7ea86d7a0c2655c9c52cab3c
5
5
  SHA512:
6
- metadata.gz: 557204486e8782a03f9ebd3556c2500282a24e6082d6281e8fe2d234a73e31931e36399b79af49ca4606270a0c1ce6dcd9e2cd936864e91f068b50910fdc3932
7
- data.tar.gz: 6dd67cb12e3e4d8cb8bc3dcb9c9376f153b89ebe2517af1c4c7c745908f60fa43b57930f66047814cceb198fa0a6c6c056e4879c1dcf7d55f804d7f6763f96c2
6
+ metadata.gz: b0390c2a5c17ce0405ae187f076b62134b4df30c9e30792753055f7a98664e21d644c50d4ef09e649c0039c5921d70e141d0b0a854bd888b12a9e6618db43615
7
+ data.tar.gz: 27740e190af2be5ac81011909e9f3ef24dc484f59714c0009f8037c7f6a5f4a44361883b3ae4d64b0dfcc5af706301cfc4fe003456a152eb3596b7682a94f0fc
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Release history for google-apis-pubsub_v1
2
2
 
3
+ ### v0.15.0 (2022-04-01)
4
+
5
+ * Regenerated from discovery document revision 20220322
6
+
7
+ ### v0.14.0 (2022-03-13)
8
+
9
+ * Regenerated from discovery document revision 20220301
10
+
11
+ ### v0.13.0 (2022-02-22)
12
+
13
+ * Regenerated from discovery document revision 20220207
14
+ * Regenerated using generator version 0.4.1
15
+
3
16
  ### v0.12.0 (2022-01-08)
4
17
 
5
18
  * Regenerated from discovery document revision 20211231
@@ -200,8 +200,7 @@ module Google
200
200
  # A generic empty message that you can re-use to avoid defining duplicated empty
201
201
  # messages in your APIs. A typical example is to use it as the request or the
202
202
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
203
- # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
204
- # `Empty` is empty JSON object ````.
203
+ # protobuf.Empty) returns (google.protobuf.Empty); `
205
204
  class Empty
206
205
  include Google::Apis::Core::Hashable
207
206
 
@@ -541,9 +540,8 @@ module Google
541
540
  attr_accessor :audience
542
541
 
543
542
  # [Service account email](https://cloud.google.com/iam/docs/service-accounts) to
544
- # be used for generating the OIDC token. The caller (for CreateSubscription,
545
- # UpdateSubscription, and ModifyPushConfig RPCs) must have the iam.
546
- # serviceAccounts.actAs permission for the service account.
543
+ # be used for generating the OIDC token. See [Setting up push authentication](/
544
+ # pubsub/docs/push#setting_up_for_push_authentication) for more details.
547
545
  # Corresponds to the JSON property `serviceAccountEmail`
548
546
  # @return [String]
549
547
  attr_accessor :service_account_email
@@ -945,6 +943,16 @@ module Google
945
943
  # @return [String]
946
944
  attr_accessor :name
947
945
 
946
+ # Output only. The timestamp that the revision was created.
947
+ # Corresponds to the JSON property `revisionCreateTime`
948
+ # @return [String]
949
+ attr_accessor :revision_create_time
950
+
951
+ # Output only. Immutable. The revision ID of the schema.
952
+ # Corresponds to the JSON property `revisionId`
953
+ # @return [String]
954
+ attr_accessor :revision_id
955
+
948
956
  # The type of the schema definition.
949
957
  # Corresponds to the JSON property `type`
950
958
  # @return [String]
@@ -958,6 +966,8 @@ module Google
958
966
  def update!(**args)
959
967
  @definition = args[:definition] if args.key?(:definition)
960
968
  @name = args[:name] if args.key?(:name)
969
+ @revision_create_time = args[:revision_create_time] if args.key?(:revision_create_time)
970
+ @revision_id = args[:revision_id] if args.key?(:revision_id)
961
971
  @type = args[:type] if args.key?(:type)
962
972
  end
963
973
  end
@@ -1172,6 +1182,19 @@ module Google
1172
1182
  attr_accessor :detached
1173
1183
  alias_method :detached?, :detached
1174
1184
 
1185
+ # If true, Pub/Sub provides the following guarantees for the delivery of a
1186
+ # message with a given value of `message_id` on this subscription: * The message
1187
+ # sent to a subscriber is guaranteed not to be resent before the message's
1188
+ # acknowledgement deadline expires. * An acknowledged message will not be resent
1189
+ # to a subscriber. Note that subscribers may still receive multiple copies of a
1190
+ # message when `enable_exactly_once_delivery` is true if the message was
1191
+ # published multiple times by a publisher client. These copies are considered
1192
+ # distinct by Pub/Sub and have distinct `message_id` values.
1193
+ # Corresponds to the JSON property `enableExactlyOnceDelivery`
1194
+ # @return [Boolean]
1195
+ attr_accessor :enable_exactly_once_delivery
1196
+ alias_method :enable_exactly_once_delivery?, :enable_exactly_once_delivery
1197
+
1175
1198
  # If true, messages published with the same `ordering_key` in `PubsubMessage`
1176
1199
  # will be delivered to the subscribers in the order in which they are received
1177
1200
  # by the Pub/Sub system. Otherwise, they may be delivered in any order.
@@ -1277,6 +1300,7 @@ module Google
1277
1300
  @ack_deadline_seconds = args[:ack_deadline_seconds] if args.key?(:ack_deadline_seconds)
1278
1301
  @dead_letter_policy = args[:dead_letter_policy] if args.key?(:dead_letter_policy)
1279
1302
  @detached = args[:detached] if args.key?(:detached)
1303
+ @enable_exactly_once_delivery = args[:enable_exactly_once_delivery] if args.key?(:enable_exactly_once_delivery)
1280
1304
  @enable_message_ordering = args[:enable_message_ordering] if args.key?(:enable_message_ordering)
1281
1305
  @expiration_policy = args[:expiration_policy] if args.key?(:expiration_policy)
1282
1306
  @filter = args[:filter] if args.key?(:filter)
@@ -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.12.0"
19
+ GEM_VERSION = "0.15.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 = "20211231"
25
+ REVISION = "20220322"
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.12.0
4
+ version: 0.15.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-01-10 00:00:00.000000000 Z
11
+ date: 2022-04-04 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.12.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-pubsub_v1/v0.15.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.3.4
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