google-cloud-pubsub-v1 0.18.0 → 0.18.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/pubsub/v1/publisher/client.rb +1 -1
- data/lib/google/cloud/pubsub/v1/subscriber/client.rb +7 -7
- data/lib/google/cloud/pubsub/v1/version.rb +1 -1
- data/lib/google/pubsub/v1/pubsub_services_pb.rb +6 -6
- data/proto_docs/google/pubsub/v1/pubsub.rb +8 -7
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3c4fc161139d43b56e7b281d9265922f2c18e679fe08abb0598122af2bc1fb91
|
4
|
+
data.tar.gz: ac4208f2b9f6a6c090d591c945b5c054b82b86c438a67156315dd03da2c2750c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b90e6842b2f4daf645a5ba209ad92b01851dfa9ffebf6da2ea640903257c1d130e65a2d359c2fdbd401101e135a71b009b04deb362229203902bf2f637041739
|
7
|
+
data.tar.gz: a4851bae56b8e8c7e20f99803c6b77f3ab8667a84a85af11445d5b66c05e7d4098ff01e0048c351054c444b84ef6c189acb895e72fb1020e1049e392586dcf16
|
@@ -207,7 +207,7 @@ module Google
|
|
207
207
|
|
208
208
|
##
|
209
209
|
# Creates the given topic with the given name. See the [resource name rules]
|
210
|
-
# (https://cloud.google.com/pubsub/docs/
|
210
|
+
# (https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names).
|
211
211
|
#
|
212
212
|
# @overload create_topic(request, options = nil)
|
213
213
|
# Pass arguments to `create_topic` via a request object, either of type
|
@@ -243,16 +243,16 @@ module Google
|
|
243
243
|
|
244
244
|
##
|
245
245
|
# Creates a subscription to a given topic. See the [resource name rules]
|
246
|
-
# (https://cloud.google.com/pubsub/docs/
|
246
|
+
# (https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names).
|
247
247
|
# If the subscription already exists, returns `ALREADY_EXISTS`.
|
248
248
|
# If the corresponding topic doesn't exist, returns `NOT_FOUND`.
|
249
249
|
#
|
250
250
|
# If the name is not provided in the request, the server will assign a random
|
251
251
|
# name for this subscription on the same project as the topic, conforming
|
252
252
|
# to the [resource name format]
|
253
|
-
# (https://cloud.google.com/pubsub/docs/
|
254
|
-
# name is populated in the returned Subscription object. Note that
|
255
|
-
# API requests, you must specify a name in the request.
|
253
|
+
# (https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names). The
|
254
|
+
# generated name is populated in the returned Subscription object. Note that
|
255
|
+
# for REST API requests, you must specify a name in the request.
|
256
256
|
#
|
257
257
|
# @overload create_subscription(request, options = nil)
|
258
258
|
# Pass arguments to `create_subscription` via a request object, either of type
|
@@ -1490,7 +1490,7 @@ module Google
|
|
1490
1490
|
# the request, the server will assign a random
|
1491
1491
|
# name for this snapshot on the same project as the subscription, conforming
|
1492
1492
|
# to the [resource name format]
|
1493
|
-
# (https://cloud.google.com/pubsub/docs/
|
1493
|
+
# (https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names). The
|
1494
1494
|
# generated name is populated in the returned Snapshot object. Note that for
|
1495
1495
|
# REST API requests, you must specify a name in the request.
|
1496
1496
|
#
|
@@ -1514,8 +1514,8 @@ module Google
|
|
1514
1514
|
# in the request, the server will assign a random name for this snapshot on
|
1515
1515
|
# the same project as the subscription. Note that for REST API requests, you
|
1516
1516
|
# must specify a name. See the [resource name
|
1517
|
-
# rules](https://cloud.google.com/pubsub/docs/
|
1518
|
-
# is `projects/{project}/snapshots/{snap}`.
|
1517
|
+
# rules](https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names).
|
1518
|
+
# Format is `projects/{project}/snapshots/{snap}`.
|
1519
1519
|
# @param subscription [::String]
|
1520
1520
|
# Required. The subscription whose backlog the snapshot retains.
|
1521
1521
|
# Specifically, the created snapshot is guaranteed to retain:
|
@@ -35,7 +35,7 @@ module Google
|
|
35
35
|
self.service_name = 'google.pubsub.v1.Publisher'
|
36
36
|
|
37
37
|
# Creates the given topic with the given name. See the [resource name rules]
|
38
|
-
# (https://cloud.google.com/pubsub/docs/
|
38
|
+
# (https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names).
|
39
39
|
rpc :CreateTopic, ::Google::Cloud::PubSub::V1::Topic, ::Google::Cloud::PubSub::V1::Topic
|
40
40
|
# Updates an existing topic. Note that certain properties of a
|
41
41
|
# topic are not modifiable.
|
@@ -83,16 +83,16 @@ module Google
|
|
83
83
|
self.service_name = 'google.pubsub.v1.Subscriber'
|
84
84
|
|
85
85
|
# Creates a subscription to a given topic. See the [resource name rules]
|
86
|
-
# (https://cloud.google.com/pubsub/docs/
|
86
|
+
# (https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names).
|
87
87
|
# If the subscription already exists, returns `ALREADY_EXISTS`.
|
88
88
|
# If the corresponding topic doesn't exist, returns `NOT_FOUND`.
|
89
89
|
#
|
90
90
|
# If the name is not provided in the request, the server will assign a random
|
91
91
|
# name for this subscription on the same project as the topic, conforming
|
92
92
|
# to the [resource name format]
|
93
|
-
# (https://cloud.google.com/pubsub/docs/
|
94
|
-
# name is populated in the returned Subscription object. Note that
|
95
|
-
# API requests, you must specify a name in the request.
|
93
|
+
# (https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names). The
|
94
|
+
# generated name is populated in the returned Subscription object. Note that
|
95
|
+
# for REST API requests, you must specify a name in the request.
|
96
96
|
rpc :CreateSubscription, ::Google::Cloud::PubSub::V1::Subscription, ::Google::Cloud::PubSub::V1::Subscription
|
97
97
|
# Gets the configuration details of a subscription.
|
98
98
|
rpc :GetSubscription, ::Google::Cloud::PubSub::V1::GetSubscriptionRequest, ::Google::Cloud::PubSub::V1::Subscription
|
@@ -163,7 +163,7 @@ module Google
|
|
163
163
|
# the request, the server will assign a random
|
164
164
|
# name for this snapshot on the same project as the subscription, conforming
|
165
165
|
# to the [resource name format]
|
166
|
-
# (https://cloud.google.com/pubsub/docs/
|
166
|
+
# (https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names). The
|
167
167
|
# generated name is populated in the returned Snapshot object. Note that for
|
168
168
|
# REST API requests, you must specify a name in the request.
|
169
169
|
rpc :CreateSnapshot, ::Google::Cloud::PubSub::V1::CreateSnapshotRequest, ::Google::Cloud::PubSub::V1::Snapshot
|
@@ -24,11 +24,12 @@ module Google
|
|
24
24
|
# A policy constraining the storage of messages published to the topic.
|
25
25
|
# @!attribute [rw] allowed_persistence_regions
|
26
26
|
# @return [::Array<::String>]
|
27
|
-
# A list of IDs of
|
28
|
-
# may be persisted in storage. Messages published by publishers
|
29
|
-
# non-allowed
|
30
|
-
# routed for storage in one of the allowed regions.
|
31
|
-
# no regions are allowed, and is not a valid
|
27
|
+
# A list of IDs of Google Cloud regions where messages that are published
|
28
|
+
# to the topic may be persisted in storage. Messages published by publishers
|
29
|
+
# running in non-allowed Google Cloud regions (or running outside of Google
|
30
|
+
# Cloud altogether) are routed for storage in one of the allowed regions.
|
31
|
+
# An empty list means that no regions are allowed, and is not a valid
|
32
|
+
# configuration.
|
32
33
|
class MessageStoragePolicy
|
33
34
|
include ::Google::Protobuf::MessageExts
|
34
35
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -1157,8 +1158,8 @@ module Google
|
|
1157
1158
|
# in the request, the server will assign a random name for this snapshot on
|
1158
1159
|
# the same project as the subscription. Note that for REST API requests, you
|
1159
1160
|
# must specify a name. See the [resource name
|
1160
|
-
# rules](https://cloud.google.com/pubsub/docs/
|
1161
|
-
# is `projects/{project}/snapshots/{snap}`.
|
1161
|
+
# rules](https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names).
|
1162
|
+
# Format is `projects/{project}/snapshots/{snap}`.
|
1162
1163
|
# @!attribute [rw] subscription
|
1163
1164
|
# @return [::String]
|
1164
1165
|
# Required. The subscription whose backlog the snapshot retains.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-pubsub-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.18.
|
4
|
+
version: 0.18.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-10-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|