google-cloud-security-public_ca-v1beta1 0.3.0 → 0.3.1

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: 1f920937e9d5e8383de014650a966275a7f982fe54082f76fede717c78a4c1be
4
- data.tar.gz: 7ae9ab03d8c0919230a6e2ebce3786ce48c124f35c376cafdecc1f19e2ef00fa
3
+ metadata.gz: 835827a0f1de6a2dd33e721d7d524d5948405e0faea13eb0e16d7b9bc7eabfac
4
+ data.tar.gz: 97bd44b337631c9dd04f647f47e24f3288c2d9f42945c09212147e5166c8a69c
5
5
  SHA512:
6
- metadata.gz: 9f7501b15b2ba04edbffa90e2930cc50cc3ef89e5cc80dbfacd645148554861dd118ca27ef8630910f4d6dcd11e78546febec11b0951569d2f0daca31a9626c1
7
- data.tar.gz: d73da1b1553e32264ad3602f6ad947e9016745523bf36fa650f7a83504b6c864b695f536342d9e7cacea3eb9fa938f15393a9e2872f02cb94890cbd4fd788875
6
+ metadata.gz: 4ca8ee65106f7bf7494c045c47934b716a9d15926b3e9c6b4911dbe07bcb14296562b97fe8a01cb654b26aa12632f6bd1345b1364fe0efa3aa87cd33bf09b6fa
7
+ data.tar.gz: bf535825e3e4d63ebbee496550c6d66783e2d089c1847b3c6609b62a27678ca51a06db0434f8d20ed8e63d69321d7b35f5f059bb5343441679863690aa0f3ebd
@@ -131,7 +131,7 @@ module Google
131
131
  credentials = @config.credentials
132
132
  # Use self-signed JWT if the endpoint is unchanged from default,
133
133
  # but only if the default endpoint does not have a region prefix.
134
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
134
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
135
135
  !@config.endpoint.split(".").first.include?("-")
136
136
  credentials ||= Credentials.default scope: @config.scope,
137
137
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -326,7 +326,9 @@ module Google
326
326
  class Configuration
327
327
  extend ::Gapic::Config
328
328
 
329
- config_attr :endpoint, "publicca.googleapis.com", ::String
329
+ DEFAULT_ENDPOINT = "publicca.googleapis.com"
330
+
331
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
330
332
  config_attr :credentials, nil do |value|
331
333
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
332
334
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
@@ -127,7 +127,7 @@ module Google
127
127
  credentials = @config.credentials
128
128
  # Use self-signed JWT if the endpoint is unchanged from default,
129
129
  # but only if the default endpoint does not have a region prefix.
130
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
130
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
131
131
  !@config.endpoint.split(".").first.include?("-")
132
132
  credentials ||= Credentials.default scope: @config.scope,
133
133
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -285,7 +285,9 @@ module Google
285
285
  class Configuration
286
286
  extend ::Gapic::Config
287
287
 
288
- config_attr :endpoint, "publicca.googleapis.com", ::String
288
+ DEFAULT_ENDPOINT = "publicca.googleapis.com"
289
+
290
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
289
291
  config_attr :credentials, nil do |value|
290
292
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
291
293
  allowed.any? { |klass| klass === value }
@@ -60,7 +60,7 @@ module Google
60
60
 
61
61
  verb, uri, query_string_params, body = ServiceStub.transcode_create_external_account_key_request request_pb
62
62
  query_string_params = if query_string_params.any?
63
- query_string_params.to_h { |p| p.split("=", 2) }
63
+ query_string_params.to_h { |p| p.split "=", 2 }
64
64
  else
65
65
  {}
66
66
  end
@@ -22,7 +22,7 @@ module Google
22
22
  module Security
23
23
  module PublicCA
24
24
  module V1beta1
25
- VERSION = "0.3.0"
25
+ VERSION = "0.3.1"
26
26
  end
27
27
  end
28
28
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-security-public_ca-v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.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-05-31 00:00:00.000000000 Z
11
+ date: 2023-06-06 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