google-cloud-private_catalog-v1beta1 0.1.1 → 0.1.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a5edee6b3cf4a59df578f7793ef2846c7c24afc3b9f8a235f50bb7cbea984eb3
|
4
|
+
data.tar.gz: 44b38276e264bbbc8ffc627dff7585d47baa9fa58a4c35c820f0aae2462dfa74
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 44321f2312d03f3bc8af8e45b60f3af0d8a67cfbf6f8b58c960e8d05e978d239a4714cc483204724ce47e708fe029781fc0f73580c5b4c659f365c3b9ff77400
|
7
|
+
data.tar.gz: fe772a7b10807f6ad8b0311164ecdfaf97eb69d0b35ddaffc88144b6376d3fe06bb81b7f80804f6992d9468367529d554243ca0551afab8b0cd640359f77d976
|
@@ -59,13 +59,12 @@ module Google
|
|
59
59
|
# See {::Google::Cloud::PrivateCatalog::V1beta1::PrivateCatalog::Client::Configuration}
|
60
60
|
# for a description of the configuration fields.
|
61
61
|
#
|
62
|
-
#
|
62
|
+
# @example
|
63
63
|
#
|
64
|
-
#
|
65
|
-
#
|
66
|
-
#
|
67
|
-
#
|
68
|
-
# end
|
64
|
+
# # Modify the configuration for all PrivateCatalog clients
|
65
|
+
# ::Google::Cloud::PrivateCatalog::V1beta1::PrivateCatalog::Client.configure do |config|
|
66
|
+
# config.timeout = 10.0
|
67
|
+
# end
|
69
68
|
#
|
70
69
|
# @yield [config] Configure the Client client.
|
71
70
|
# @yieldparam config [Client::Configuration]
|
@@ -112,19 +111,15 @@ module Google
|
|
112
111
|
##
|
113
112
|
# Create a new PrivateCatalog client object.
|
114
113
|
#
|
115
|
-
#
|
116
|
-
#
|
117
|
-
# To create a new PrivateCatalog client with the default
|
118
|
-
# configuration:
|
119
|
-
#
|
120
|
-
# client = ::Google::Cloud::PrivateCatalog::V1beta1::PrivateCatalog::Client.new
|
114
|
+
# @example
|
121
115
|
#
|
122
|
-
#
|
123
|
-
#
|
116
|
+
# # Create a client using the default configuration
|
117
|
+
# client = ::Google::Cloud::PrivateCatalog::V1beta1::PrivateCatalog::Client.new
|
124
118
|
#
|
125
|
-
#
|
126
|
-
#
|
127
|
-
#
|
119
|
+
# # Create a client using a custom configuration
|
120
|
+
# client = ::Google::Cloud::PrivateCatalog::V1beta1::PrivateCatalog::Client.new do |config|
|
121
|
+
# config.timeout = 10.0
|
122
|
+
# end
|
128
123
|
#
|
129
124
|
# @yield [config] Configure the PrivateCatalog client.
|
130
125
|
# @yieldparam config [Client::Configuration]
|
@@ -144,10 +139,9 @@ module Google
|
|
144
139
|
|
145
140
|
# Create credentials
|
146
141
|
credentials = @config.credentials
|
147
|
-
# Use self-signed JWT if the
|
142
|
+
# Use self-signed JWT if the endpoint is unchanged from default,
|
148
143
|
# but only if the default endpoint does not have a region prefix.
|
149
|
-
enable_self_signed_jwt = @config.
|
150
|
-
@config.endpoint == Client.configure.endpoint &&
|
144
|
+
enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
|
151
145
|
!@config.endpoint.split(".").first.include?("-")
|
152
146
|
credentials ||= Credentials.default scope: @config.scope,
|
153
147
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -237,7 +231,9 @@ module Google
|
|
237
231
|
options.apply_defaults timeout: @config.rpcs.search_catalogs.timeout,
|
238
232
|
metadata: metadata,
|
239
233
|
retry_policy: @config.rpcs.search_catalogs.retry_policy
|
240
|
-
|
234
|
+
|
235
|
+
options.apply_defaults timeout: @config.timeout,
|
236
|
+
metadata: @config.metadata,
|
241
237
|
retry_policy: @config.retry_policy
|
242
238
|
|
243
239
|
@private_catalog_stub.call_rpc :search_catalogs, request, options: options do |response, operation|
|
@@ -319,7 +315,9 @@ module Google
|
|
319
315
|
options.apply_defaults timeout: @config.rpcs.search_products.timeout,
|
320
316
|
metadata: metadata,
|
321
317
|
retry_policy: @config.rpcs.search_products.retry_policy
|
322
|
-
|
318
|
+
|
319
|
+
options.apply_defaults timeout: @config.timeout,
|
320
|
+
metadata: @config.metadata,
|
323
321
|
retry_policy: @config.retry_policy
|
324
322
|
|
325
323
|
@private_catalog_stub.call_rpc :search_products, request, options: options do |response, operation|
|
@@ -401,7 +399,9 @@ module Google
|
|
401
399
|
options.apply_defaults timeout: @config.rpcs.search_versions.timeout,
|
402
400
|
metadata: metadata,
|
403
401
|
retry_policy: @config.rpcs.search_versions.retry_policy
|
404
|
-
|
402
|
+
|
403
|
+
options.apply_defaults timeout: @config.timeout,
|
404
|
+
metadata: @config.metadata,
|
405
405
|
retry_policy: @config.retry_policy
|
406
406
|
|
407
407
|
@private_catalog_stub.call_rpc :search_versions, request, options: options do |response, operation|
|
@@ -426,22 +426,21 @@ module Google
|
|
426
426
|
# Configuration can be applied globally to all clients, or to a single client
|
427
427
|
# on construction.
|
428
428
|
#
|
429
|
-
#
|
430
|
-
#
|
431
|
-
#
|
432
|
-
# to 20 seconds,
|
433
|
-
#
|
434
|
-
#
|
435
|
-
#
|
436
|
-
#
|
437
|
-
#
|
438
|
-
#
|
439
|
-
#
|
440
|
-
#
|
441
|
-
#
|
442
|
-
#
|
443
|
-
#
|
444
|
-
# end
|
429
|
+
# @example
|
430
|
+
#
|
431
|
+
# # Modify the global config, setting the timeout for
|
432
|
+
# # search_catalogs to 20 seconds,
|
433
|
+
# # and all remaining timeouts to 10 seconds.
|
434
|
+
# ::Google::Cloud::PrivateCatalog::V1beta1::PrivateCatalog::Client.configure do |config|
|
435
|
+
# config.timeout = 10.0
|
436
|
+
# config.rpcs.search_catalogs.timeout = 20.0
|
437
|
+
# end
|
438
|
+
#
|
439
|
+
# # Apply the above configuration only to a new client.
|
440
|
+
# client = ::Google::Cloud::PrivateCatalog::V1beta1::PrivateCatalog::Client.new do |config|
|
441
|
+
# config.timeout = 10.0
|
442
|
+
# config.rpcs.search_catalogs.timeout = 20.0
|
443
|
+
# end
|
445
444
|
#
|
446
445
|
# @!attribute [rw] endpoint
|
447
446
|
# The hostname or hostname:port of the service endpoint.
|
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.1.
|
4
|
+
version: 0.1.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: 2021-
|
11
|
+
date: 2021-08-11 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
|
+
version: '0.7'
|
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.
|
29
|
+
version: '0.7'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|