google-cloud-trace-v1 0.6.0 → 0.6.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: 131c403f337c0c72b79c1b7c9868329ec0ef5fe658383e3654fcffd896a08b30
4
- data.tar.gz: 9828eab9936089175164091b8ebace8c6a0dd92ca169eaaf1b3078786cf034b1
3
+ metadata.gz: f13989436387c152ee29906b522a4bd7a4fc6ace2bff76aff2bc1aa3ef06e694
4
+ data.tar.gz: 8e12821037ee82ed679eeedb467547e5311093ada7f624bab2f621b14c134f4d
5
5
  SHA512:
6
- metadata.gz: 42c5a48b00c705f65de16ce5bb4795b70ae590b388755fe743bafe5c18dd4b208e5ed02251ecadf6885c6313c81bbace8989561b0cec9332751a84eb445b57ab
7
- data.tar.gz: 892694ca19a866ec6f6be2fc4018446ae53d9b9fcd0b877f067a70b78f859c77ab7c410965623e4443d74f6678cd89fd6583947a85d60a5ff13bdea4806f2150
6
+ metadata.gz: afb7ab5e343858c3b1fd908ca970ea62513b6cda00a8d39523ee535504c0b1e39f1a129e94852f6b49e00c6aa02ba9df45b5fabbfef6c9cc50293f455620e1ae
7
+ data.tar.gz: '018e1366576eb0568b5b63fcf803f46a528224079ead48b65f0f3da2e9d78d5942bf50109a52f678376419e4aa99f1310106202e3a1d0c13fdbe4e5490901645'
@@ -140,7 +140,7 @@ module Google
140
140
  credentials = @config.credentials
141
141
  # Use self-signed JWT if the endpoint is unchanged from default,
142
142
  # but only if the default endpoint does not have a region prefix.
143
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
143
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
144
144
  !@config.endpoint.split(".").first.include?("-")
145
145
  credentials ||= Credentials.default scope: @config.scope,
146
146
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -575,7 +575,9 @@ module Google
575
575
  class Configuration
576
576
  extend ::Gapic::Config
577
577
 
578
- config_attr :endpoint, "cloudtrace.googleapis.com", ::String
578
+ DEFAULT_ENDPOINT = "cloudtrace.googleapis.com"
579
+
580
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
579
581
  config_attr :credentials, nil do |value|
580
582
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
581
583
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
@@ -136,7 +136,7 @@ module Google
136
136
  credentials = @config.credentials
137
137
  # Use self-signed JWT if the endpoint is unchanged from default,
138
138
  # but only if the default endpoint does not have a region prefix.
139
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
139
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
140
140
  !@config.endpoint.split(".").first.include?("-")
141
141
  credentials ||= Credentials.default scope: @config.scope,
142
142
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -481,7 +481,9 @@ module Google
481
481
  class Configuration
482
482
  extend ::Gapic::Config
483
483
 
484
- config_attr :endpoint, "cloudtrace.googleapis.com", ::String
484
+ DEFAULT_ENDPOINT = "cloudtrace.googleapis.com"
485
+
486
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
485
487
  config_attr :credentials, nil do |value|
486
488
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
487
489
  allowed.any? { |klass| klass === value }
@@ -59,7 +59,7 @@ module Google
59
59
 
60
60
  verb, uri, query_string_params, body = ServiceStub.transcode_list_traces_request request_pb
61
61
  query_string_params = if query_string_params.any?
62
- query_string_params.to_h { |p| p.split("=", 2) }
62
+ query_string_params.to_h { |p| p.split "=", 2 }
63
63
  else
64
64
  {}
65
65
  end
@@ -97,7 +97,7 @@ module Google
97
97
 
98
98
  verb, uri, query_string_params, body = ServiceStub.transcode_get_trace_request request_pb
99
99
  query_string_params = if query_string_params.any?
100
- query_string_params.to_h { |p| p.split("=", 2) }
100
+ query_string_params.to_h { |p| p.split "=", 2 }
101
101
  else
102
102
  {}
103
103
  end
@@ -135,7 +135,7 @@ module Google
135
135
 
136
136
  verb, uri, query_string_params, body = ServiceStub.transcode_patch_traces_request request_pb
137
137
  query_string_params = if query_string_params.any?
138
- query_string_params.to_h { |p| p.split("=", 2) }
138
+ query_string_params.to_h { |p| p.split "=", 2 }
139
139
  else
140
140
  {}
141
141
  end
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Trace
23
23
  module V1
24
- VERSION = "0.6.0"
24
+ VERSION = "0.6.1"
25
25
  end
26
26
  end
27
27
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-trace-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.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