google-cloud-private_catalog-v1beta1 0.4.0 → 0.4.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: 3e404768eb421d8335168a5a0d700e69f5bd73b8dd17499544d3bf2141c4b08a
4
- data.tar.gz: 6908999d6090f0f34f32c3572571916265b4d0bb109f6700d1ba293de6359e33
3
+ metadata.gz: 13c40dd8b9a9a5ddfec5f74f23c24543e6b0c02b223bffed50e800056faf3b19
4
+ data.tar.gz: 5bd9c34bd29c4ca53ad4393932dd4de0468c7742fe60ca25bc808cabf6fe5086
5
5
  SHA512:
6
- metadata.gz: 814cb3a1a311c8b7e3bfcf710459f2ca33b8aa6b4201f699b559460f1bec1efe9abc23741dab58f2a19b1ee01609e1a994b6f8b716fba65b74fa697d121fbb5f
7
- data.tar.gz: 1317582853608dbc08a4008c670aba839cb3754bb597e976e2ee703f9355de6afa1682ea214a5d008ee1de5448c4c944b62fe2422170c2c5d2287edeaf07bc3e
6
+ metadata.gz: 06a98bcc9669ed8288db3ae6b190a18ec4bcedbf6b82766198bc0be490e0f1be0078595b9600cc34f4ee041dfd37cc7763125f52008e15e434eaa100887ba619
7
+ data.tar.gz: 160c724ad4d2f658c9b55da7d0dcac39736d89af0073d1a836ef5176995a5fd21ef69e36270a811d21bd17600f198a7aa8fad4b8cfd3ac7eb7347be5b3d58d6b
@@ -141,7 +141,7 @@ module Google
141
141
  credentials = @config.credentials
142
142
  # Use self-signed JWT if the endpoint is unchanged from default,
143
143
  # but only if the default endpoint does not have a region prefix.
144
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
144
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
145
145
  !@config.endpoint.split(".").first.include?("-")
146
146
  credentials ||= Credentials.default scope: @config.scope,
147
147
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -558,7 +558,9 @@ module Google
558
558
  class Configuration
559
559
  extend ::Gapic::Config
560
560
 
561
- config_attr :endpoint, "cloudprivatecatalog.googleapis.com", ::String
561
+ DEFAULT_ENDPOINT = "cloudprivatecatalog.googleapis.com"
562
+
563
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
562
564
  config_attr :credentials, nil do |value|
563
565
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
564
566
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
@@ -137,7 +137,7 @@ module Google
137
137
  credentials = @config.credentials
138
138
  # Use self-signed JWT if the endpoint is unchanged from default,
139
139
  # but only if the default endpoint does not have a region prefix.
140
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
140
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
141
141
  !@config.endpoint.split(".").first.include?("-")
142
142
  credentials ||= Credentials.default scope: @config.scope,
143
143
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -459,7 +459,9 @@ module Google
459
459
  class Configuration
460
460
  extend ::Gapic::Config
461
461
 
462
- config_attr :endpoint, "cloudprivatecatalog.googleapis.com", ::String
462
+ DEFAULT_ENDPOINT = "cloudprivatecatalog.googleapis.com"
463
+
464
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
463
465
  config_attr :credentials, nil do |value|
464
466
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
465
467
  allowed.any? { |klass| klass === value }
@@ -59,7 +59,7 @@ module Google
59
59
 
60
60
  verb, uri, query_string_params, body = ServiceStub.transcode_search_catalogs_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_search_products_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_search_versions_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 PrivateCatalog
23
23
  module V1beta1
24
- VERSION = "0.4.0"
24
+ VERSION = "0.4.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-private_catalog-v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.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-06-01 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