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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6bced1f4bc0ef50d280341581d62ebb391a0b5b277554e23f9d23a06b65982e0
4
- data.tar.gz: d7b6f3f3601415d85a9b0611db7c0b3e441796b8dbe7b34a4baecc5a7f8532a3
3
+ metadata.gz: d90d63d26e21aa02d0594b0b67d1e125b6c2e212d50cb1bd46ae9ef4b83f3b14
4
+ data.tar.gz: 3e068ba1ae2be7113e0b7a901b8fc6be034630e43df6c706a5e2c7231a87b750
5
5
  SHA512:
6
- metadata.gz: 011b0497a357b60bebf0073c828163319c474ad1ad82f6fdf8be389b479478bc3bfbb6d2d21fe0782c493dbb837a8333ffcd01f14b78488ba68a875e4cb90267
7
- data.tar.gz: 87c8da9f77dac0c3d2f4b5295a9f97cd2e5095f54967456748d29115bf788b99277211f3f4393c0953ec907ef529ef54bc3ff448047b0be47d6563fb0ff23ae5
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 == Client.configure.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
- config_attr :endpoint, "pubsub.googleapis.com", ::String
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 == Client.configure.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
- config_attr :endpoint, "pubsub.googleapis.com", ::String
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 == Client.configure.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
- config_attr :endpoint, "pubsub.googleapis.com", ::String
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
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module PubSub
23
23
  module V1
24
- VERSION = "0.17.0"
24
+ VERSION = "0.17.2"
25
25
  end
26
26
  end
27
27
  end
@@ -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.0
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-05-31 00:00:00.000000000 Z
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.0
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.0
29
+ version: 0.19.1
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a