google-cloud-private_catalog-v1beta1 0.4.1 → 0.5.0

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: 13c40dd8b9a9a5ddfec5f74f23c24543e6b0c02b223bffed50e800056faf3b19
4
- data.tar.gz: 5bd9c34bd29c4ca53ad4393932dd4de0468c7742fe60ca25bc808cabf6fe5086
3
+ metadata.gz: e37d81493148f401381d5c04e1aff082964872ae60229b4b019681a146bb4d23
4
+ data.tar.gz: d4e0c4c1e55f776f8a9ef2d7bb4ae7dc179b5d8c2fc43b027fb28f4ae638b7c7
5
5
  SHA512:
6
- metadata.gz: 06a98bcc9669ed8288db3ae6b190a18ec4bcedbf6b82766198bc0be490e0f1be0078595b9600cc34f4ee041dfd37cc7763125f52008e15e434eaa100887ba619
7
- data.tar.gz: 160c724ad4d2f658c9b55da7d0dcac39736d89af0073d1a836ef5176995a5fd21ef69e36270a811d21bd17600f198a7aa8fad4b8cfd3ac7eb7347be5b3d58d6b
6
+ metadata.gz: 3e3cf3f758b8a7524b6ca1595b22824f310434dbb10dbb8fde1bca61daae8724871885c17cdcaae990871776dbc944125f18624bfefd365dd8d813285b027690
7
+ data.tar.gz: 5c5fed3852f6a6eca022545d3724e1134222d2a95e628071d1a904a5f4056c4df17fa91d5950ee1d64fda71c3d065b33ce3c8c3476bca5e2315713f1fce5c89f
@@ -156,7 +156,8 @@ module Google
156
156
  credentials: credentials,
157
157
  endpoint: @config.endpoint,
158
158
  channel_args: @config.channel_args,
159
- interceptors: @config.interceptors
159
+ interceptors: @config.interceptors,
160
+ channel_pool_config: @config.channel_pool
160
161
  )
161
162
  end
162
163
 
@@ -595,6 +596,14 @@ module Google
595
596
  end
596
597
  end
597
598
 
599
+ ##
600
+ # Configuration for the channel pool
601
+ # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
602
+ #
603
+ def channel_pool
604
+ @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
605
+ end
606
+
598
607
  ##
599
608
  # Configuration RPC class for the PrivateCatalog API.
600
609
  #
@@ -194,6 +194,26 @@ module Google
194
194
  # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::PrivateCatalog::V1beta1::Catalog>]
195
195
  #
196
196
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
197
+ #
198
+ # @example Basic example
199
+ # require "google/cloud/private_catalog/v1beta1"
200
+ #
201
+ # # Create a client object. The client can be reused for multiple calls.
202
+ # client = Google::Cloud::PrivateCatalog::V1beta1::PrivateCatalog::Rest::Client.new
203
+ #
204
+ # # Create a request. To set request fields, pass in keyword arguments.
205
+ # request = Google::Cloud::PrivateCatalog::V1beta1::SearchCatalogsRequest.new
206
+ #
207
+ # # Call the search_catalogs method.
208
+ # result = client.search_catalogs request
209
+ #
210
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
211
+ # # over elements, and API calls will be issued to fetch pages as needed.
212
+ # result.each do |item|
213
+ # # Each element is of type ::Google::Cloud::PrivateCatalog::V1beta1::Catalog.
214
+ # p item
215
+ # end
216
+ #
197
217
  def search_catalogs request, options = nil
198
218
  raise ::ArgumentError, "request must be provided" if request.nil?
199
219
 
@@ -272,6 +292,26 @@ module Google
272
292
  # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::PrivateCatalog::V1beta1::Product>]
273
293
  #
274
294
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
295
+ #
296
+ # @example Basic example
297
+ # require "google/cloud/private_catalog/v1beta1"
298
+ #
299
+ # # Create a client object. The client can be reused for multiple calls.
300
+ # client = Google::Cloud::PrivateCatalog::V1beta1::PrivateCatalog::Rest::Client.new
301
+ #
302
+ # # Create a request. To set request fields, pass in keyword arguments.
303
+ # request = Google::Cloud::PrivateCatalog::V1beta1::SearchProductsRequest.new
304
+ #
305
+ # # Call the search_products method.
306
+ # result = client.search_products request
307
+ #
308
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
309
+ # # over elements, and API calls will be issued to fetch pages as needed.
310
+ # result.each do |item|
311
+ # # Each element is of type ::Google::Cloud::PrivateCatalog::V1beta1::Product.
312
+ # p item
313
+ # end
314
+ #
275
315
  def search_products request, options = nil
276
316
  raise ::ArgumentError, "request must be provided" if request.nil?
277
317
 
@@ -350,6 +390,26 @@ module Google
350
390
  # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::PrivateCatalog::V1beta1::Version>]
351
391
  #
352
392
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
393
+ #
394
+ # @example Basic example
395
+ # require "google/cloud/private_catalog/v1beta1"
396
+ #
397
+ # # Create a client object. The client can be reused for multiple calls.
398
+ # client = Google::Cloud::PrivateCatalog::V1beta1::PrivateCatalog::Rest::Client.new
399
+ #
400
+ # # Create a request. To set request fields, pass in keyword arguments.
401
+ # request = Google::Cloud::PrivateCatalog::V1beta1::SearchVersionsRequest.new
402
+ #
403
+ # # Call the search_versions method.
404
+ # result = client.search_versions request
405
+ #
406
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
407
+ # # over elements, and API calls will be issued to fetch pages as needed.
408
+ # result.each do |item|
409
+ # # Each element is of type ::Google::Cloud::PrivateCatalog::V1beta1::Version.
410
+ # p item
411
+ # end
412
+ #
353
413
  def search_versions request, options = nil
354
414
  raise ::ArgumentError, "request must be provided" if request.nil?
355
415
 
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module PrivateCatalog
23
23
  module V1beta1
24
- VERSION = "0.4.1"
24
+ VERSION = "0.5.0"
25
25
  end
26
26
  end
27
27
  end
@@ -66,6 +66,20 @@ module Google
66
66
  # a non-empty value will be returned. The user will not be aware of what
67
67
  # non-empty value to expect.
68
68
  NON_EMPTY_DEFAULT = 7
69
+
70
+ # Denotes that the field in a resource (a message annotated with
71
+ # google.api.resource) is used in the resource name to uniquely identify the
72
+ # resource. For AIP-compliant APIs, this should only be applied to the
73
+ # `name` field on the resource.
74
+ #
75
+ # This behavior should not be applied to references to other resources within
76
+ # the message.
77
+ #
78
+ # The identifier field of resources often have different field behavior
79
+ # depending on the request it is embedded in (e.g. for Create methods name
80
+ # is optional and unused, while for Update methods it is required). Instead
81
+ # of method-specific annotations, only `IDENTIFIER` is required.
82
+ IDENTIFIER = 8
69
83
  end
70
84
  end
71
85
  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.1
4
+ version: 0.5.0
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-06 00:00:00.000000000 Z
11
+ date: 2023-09-12 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.1
19
+ version: 0.20.0
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.1
29
+ version: 0.20.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -215,7 +215,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
215
215
  - !ruby/object:Gem::Version
216
216
  version: '0'
217
217
  requirements: []
218
- rubygems_version: 3.4.2
218
+ rubygems_version: 3.4.19
219
219
  signing_key:
220
220
  specification_version: 4
221
221
  summary: Enable cloud users to discover private catalogs and products in their organizations.