google-cloud-pubsub-v1 0.17.0 → 0.17.2
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 +4 -2
- data/lib/google/cloud/pubsub/v1/schema_service/client.rb +4 -2
- data/lib/google/cloud/pubsub/v1/subscriber/client.rb +4 -2
- data/lib/google/cloud/pubsub/v1/version.rb +1 -1
- data/proto_docs/google/pubsub/v1/pubsub.rb +2 -1
- 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: d90d63d26e21aa02d0594b0b67d1e125b6c2e212d50cb1bd46ae9ef4b83f3b14
|
4
|
+
data.tar.gz: 3e068ba1ae2be7113e0b7a901b8fc6be034630e43df6c706a5e2c7231a87b750
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2560a38395eb2079f9faf5bc489c6598ad33b7a8bf09e5262dbe9b143f67bf5803dc9f846465b18402fc07991434dd43a873c23a0867efeb617f2ed9c03b9b8e
|
7
|
+
data.tar.gz: 7bfbd668af7dcbbd87119b24243cfa4aed7447ca1655c833db1c24d9a0dd7ddd17b6507a2de03cec911fae75d125a1f4671020cf913b1bf1fe4b956848ae4ecf
|
@@ -170,7 +170,7 @@ module Google
|
|
170
170
|
credentials = @config.credentials
|
171
171
|
# Use self-signed JWT if the endpoint is unchanged from default,
|
172
172
|
# but only if the default endpoint does not have a region prefix.
|
173
|
-
enable_self_signed_jwt = @config.endpoint ==
|
173
|
+
enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
|
174
174
|
!@config.endpoint.split(".").first.include?("-")
|
175
175
|
credentials ||= Credentials.default scope: @config.scope,
|
176
176
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -1134,7 +1134,9 @@ module Google
|
|
1134
1134
|
class Configuration
|
1135
1135
|
extend ::Gapic::Config
|
1136
1136
|
|
1137
|
-
|
1137
|
+
DEFAULT_ENDPOINT = "pubsub.googleapis.com"
|
1138
|
+
|
1139
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
1138
1140
|
config_attr :credentials, nil do |value|
|
1139
1141
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
1140
1142
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
@@ -174,7 +174,7 @@ module Google
|
|
174
174
|
credentials = @config.credentials
|
175
175
|
# Use self-signed JWT if the endpoint is unchanged from default,
|
176
176
|
# but only if the default endpoint does not have a region prefix.
|
177
|
-
enable_self_signed_jwt = @config.endpoint ==
|
177
|
+
enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
|
178
178
|
!@config.endpoint.split(".").first.include?("-")
|
179
179
|
credentials ||= Credentials.default scope: @config.scope,
|
180
180
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -1217,7 +1217,9 @@ module Google
|
|
1217
1217
|
class Configuration
|
1218
1218
|
extend ::Gapic::Config
|
1219
1219
|
|
1220
|
-
|
1220
|
+
DEFAULT_ENDPOINT = "pubsub.googleapis.com"
|
1221
|
+
|
1222
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
1221
1223
|
config_attr :credentials, nil do |value|
|
1222
1224
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
1223
1225
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
@@ -206,7 +206,7 @@ module Google
|
|
206
206
|
credentials = @config.credentials
|
207
207
|
# Use self-signed JWT if the endpoint is unchanged from default,
|
208
208
|
# but only if the default endpoint does not have a region prefix.
|
209
|
-
enable_self_signed_jwt = @config.endpoint ==
|
209
|
+
enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
|
210
210
|
!@config.endpoint.split(".").first.include?("-")
|
211
211
|
credentials ||= Credentials.default scope: @config.scope,
|
212
212
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -1968,7 +1968,9 @@ module Google
|
|
1968
1968
|
class Configuration
|
1969
1969
|
extend ::Gapic::Config
|
1970
1970
|
|
1971
|
-
|
1971
|
+
DEFAULT_ENDPOINT = "pubsub.googleapis.com"
|
1972
|
+
|
1973
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
1972
1974
|
config_attr :credentials, nil do |value|
|
1973
1975
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
1974
1976
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
@@ -749,7 +749,8 @@ module Google
|
|
749
749
|
# @!attribute [rw] filename_suffix
|
750
750
|
# @return [::String]
|
751
751
|
# User-provided suffix for Cloud Storage filename. See the [object naming
|
752
|
-
# requirements](https://cloud.google.com/storage/docs/objects#naming).
|
752
|
+
# requirements](https://cloud.google.com/storage/docs/objects#naming). Must
|
753
|
+
# not end in "/".
|
753
754
|
# @!attribute [rw] text_config
|
754
755
|
# @return [::Google::Cloud::PubSub::V1::CloudStorageConfig::TextConfig]
|
755
756
|
# If set, message data will be written to Cloud Storage in text format.
|
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.17.
|
4
|
+
version: 0.17.2
|
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-06-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.19.
|
19
|
+
version: 0.19.1
|
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.19.
|
29
|
+
version: 0.19.1
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|