google-cloud-private_catalog-v1beta1 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/google/cloud/private_catalog/v1beta1/private_catalog/client.rb +78 -9
- data/lib/google/cloud/private_catalog/v1beta1/version.rb +1 -1
- data/lib/google/cloud/privatecatalog/v1beta1/private_catalog_pb.rb +2 -2
- data/lib/google/cloud/privatecatalog/v1beta1/private_catalog_services_pb.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 70e0e2c96378cedad081b67bcb3ba2546ec58d5db94726a8bd5613431636d3b3
|
|
4
|
+
data.tar.gz: 24507991267edc5f420db943afdf373a6eee3e813952becba583679898a04a75
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8e33829d3f9bcc5c894ed42dbcb3a7b8e21c2b5a502b13e3d538cf66c65f7975e0d28d9308421a8e8152930aac5e63975cb2633ef8731ef72e176c7d648dda40
|
|
7
|
+
data.tar.gz: c474a1313e61b1bbe63b6e0431a6d8f887365357ac368853f0ac89e41c8c17e6ce0e67e6a6bf33bf23313d75e775c2fda25a53bb384ea4d52a0dc07484814f31
|
|
@@ -205,6 +205,27 @@ module Google
|
|
|
205
205
|
#
|
|
206
206
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
|
207
207
|
#
|
|
208
|
+
# @example Basic example
|
|
209
|
+
# require "google/cloud/private_catalog/v1beta1"
|
|
210
|
+
#
|
|
211
|
+
# # Create a client object. The client can be reused for multiple calls.
|
|
212
|
+
# client = Google::Cloud::PrivateCatalog::V1beta1::PrivateCatalog::Client.new
|
|
213
|
+
#
|
|
214
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
|
215
|
+
# request = Google::Cloud::PrivateCatalog::V1beta1::SearchCatalogsRequest.new
|
|
216
|
+
#
|
|
217
|
+
# # Call the search_catalogs method.
|
|
218
|
+
# result = client.search_catalogs request
|
|
219
|
+
#
|
|
220
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can
|
|
221
|
+
# # iterate over all elements by calling #each, and the enumerable
|
|
222
|
+
# # will lazily make API calls to fetch subsequent pages. Other
|
|
223
|
+
# # methods are also available for managing paging directly.
|
|
224
|
+
# result.each do |response|
|
|
225
|
+
# # Each element is of type ::Google::Cloud::PrivateCatalog::V1beta1::Catalog.
|
|
226
|
+
# p response
|
|
227
|
+
# end
|
|
228
|
+
#
|
|
208
229
|
def search_catalogs request, options = nil
|
|
209
230
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
|
210
231
|
|
|
@@ -222,9 +243,11 @@ module Google
|
|
|
222
243
|
gapic_version: ::Google::Cloud::PrivateCatalog::V1beta1::VERSION
|
|
223
244
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
224
245
|
|
|
225
|
-
header_params = {
|
|
226
|
-
|
|
227
|
-
|
|
246
|
+
header_params = {}
|
|
247
|
+
if request.resource
|
|
248
|
+
header_params["resource"] = request.resource
|
|
249
|
+
end
|
|
250
|
+
|
|
228
251
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
|
229
252
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
|
230
253
|
|
|
@@ -289,6 +312,27 @@ module Google
|
|
|
289
312
|
#
|
|
290
313
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
|
291
314
|
#
|
|
315
|
+
# @example Basic example
|
|
316
|
+
# require "google/cloud/private_catalog/v1beta1"
|
|
317
|
+
#
|
|
318
|
+
# # Create a client object. The client can be reused for multiple calls.
|
|
319
|
+
# client = Google::Cloud::PrivateCatalog::V1beta1::PrivateCatalog::Client.new
|
|
320
|
+
#
|
|
321
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
|
322
|
+
# request = Google::Cloud::PrivateCatalog::V1beta1::SearchProductsRequest.new
|
|
323
|
+
#
|
|
324
|
+
# # Call the search_products method.
|
|
325
|
+
# result = client.search_products request
|
|
326
|
+
#
|
|
327
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can
|
|
328
|
+
# # iterate over all elements by calling #each, and the enumerable
|
|
329
|
+
# # will lazily make API calls to fetch subsequent pages. Other
|
|
330
|
+
# # methods are also available for managing paging directly.
|
|
331
|
+
# result.each do |response|
|
|
332
|
+
# # Each element is of type ::Google::Cloud::PrivateCatalog::V1beta1::Product.
|
|
333
|
+
# p response
|
|
334
|
+
# end
|
|
335
|
+
#
|
|
292
336
|
def search_products request, options = nil
|
|
293
337
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
|
294
338
|
|
|
@@ -306,9 +350,11 @@ module Google
|
|
|
306
350
|
gapic_version: ::Google::Cloud::PrivateCatalog::V1beta1::VERSION
|
|
307
351
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
308
352
|
|
|
309
|
-
header_params = {
|
|
310
|
-
|
|
311
|
-
|
|
353
|
+
header_params = {}
|
|
354
|
+
if request.resource
|
|
355
|
+
header_params["resource"] = request.resource
|
|
356
|
+
end
|
|
357
|
+
|
|
312
358
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
|
313
359
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
|
314
360
|
|
|
@@ -373,6 +419,27 @@ module Google
|
|
|
373
419
|
#
|
|
374
420
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
|
375
421
|
#
|
|
422
|
+
# @example Basic example
|
|
423
|
+
# require "google/cloud/private_catalog/v1beta1"
|
|
424
|
+
#
|
|
425
|
+
# # Create a client object. The client can be reused for multiple calls.
|
|
426
|
+
# client = Google::Cloud::PrivateCatalog::V1beta1::PrivateCatalog::Client.new
|
|
427
|
+
#
|
|
428
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
|
429
|
+
# request = Google::Cloud::PrivateCatalog::V1beta1::SearchVersionsRequest.new
|
|
430
|
+
#
|
|
431
|
+
# # Call the search_versions method.
|
|
432
|
+
# result = client.search_versions request
|
|
433
|
+
#
|
|
434
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can
|
|
435
|
+
# # iterate over all elements by calling #each, and the enumerable
|
|
436
|
+
# # will lazily make API calls to fetch subsequent pages. Other
|
|
437
|
+
# # methods are also available for managing paging directly.
|
|
438
|
+
# result.each do |response|
|
|
439
|
+
# # Each element is of type ::Google::Cloud::PrivateCatalog::V1beta1::Version.
|
|
440
|
+
# p response
|
|
441
|
+
# end
|
|
442
|
+
#
|
|
376
443
|
def search_versions request, options = nil
|
|
377
444
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
|
378
445
|
|
|
@@ -390,9 +457,11 @@ module Google
|
|
|
390
457
|
gapic_version: ::Google::Cloud::PrivateCatalog::V1beta1::VERSION
|
|
391
458
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
392
459
|
|
|
393
|
-
header_params = {
|
|
394
|
-
|
|
395
|
-
|
|
460
|
+
header_params = {}
|
|
461
|
+
if request.resource
|
|
462
|
+
header_params["resource"] = request.resource
|
|
463
|
+
end
|
|
464
|
+
|
|
396
465
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
|
397
466
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
|
398
467
|
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
2
|
# source: google/cloud/privatecatalog/v1beta1/private_catalog.proto
|
|
3
3
|
|
|
4
|
-
require 'google/protobuf'
|
|
5
|
-
|
|
6
4
|
require 'google/api/annotations_pb'
|
|
7
5
|
require 'google/api/client_pb'
|
|
8
6
|
require 'google/api/field_behavior_pb'
|
|
@@ -13,6 +11,8 @@ require 'google/protobuf/empty_pb'
|
|
|
13
11
|
require 'google/protobuf/field_mask_pb'
|
|
14
12
|
require 'google/protobuf/struct_pb'
|
|
15
13
|
require 'google/protobuf/timestamp_pb'
|
|
14
|
+
require 'google/protobuf'
|
|
15
|
+
|
|
16
16
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
17
17
|
add_file("google/cloud/privatecatalog/v1beta1/private_catalog.proto", :syntax => :proto3) do
|
|
18
18
|
add_message "google.cloud.privatecatalog.v1beta1.SearchCatalogsRequest" do
|
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.3
|
|
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-08
|
|
11
|
+
date: 2021-11-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: gapic-common
|