google-cloud-commerce-consumer-procurement-v1 0.4.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +0 -1
- data/lib/google/cloud/commerce/consumer/procurement/v1/consumer_procurement_service/client.rb +9 -3
- data/lib/google/cloud/commerce/consumer/procurement/v1/consumer_procurement_service/operations.rb +13 -5
- data/lib/google/cloud/commerce/consumer/procurement/v1/consumer_procurement_service/rest/client.rb +9 -3
- data/lib/google/cloud/commerce/consumer/procurement/v1/consumer_procurement_service/rest/operations.rb +11 -4
- data/lib/google/cloud/commerce/consumer/procurement/v1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +18 -10
- data/proto_docs/google/api/resource.rb +7 -2
- 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: 5c3f6a9b6c89a31dc78e83c74282b5f0c1750854978b1d10a6a136fd981ce9cb
|
4
|
+
data.tar.gz: 1441c7b45bbbc3cc554a82140e87d37d49372323b20b9bfdbd1c864e595d1ecb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1ac04442b92c72b710f4cf012aaf76b542ebb65cbc908c9738a79c40e840809d1729640a1dbf53f1623dad5f30ae9a0f08fdd6e7d0af96f2b02e7e69428dc9ce
|
7
|
+
data.tar.gz: a056bc3e7806a77672e2a102a448bc03e6b54a75c9e5f1156eca6a9b64de182098d7bbe041dba754464c307d06a2fe944d703b3e8c3eb6936d6a6ad33afb68f9
|
data/README.md
CHANGED
data/lib/google/cloud/commerce/consumer/procurement/v1/consumer_procurement_service/client.rb
CHANGED
@@ -40,6 +40,9 @@ module Google
|
|
40
40
|
# for charging for the procured item.
|
41
41
|
#
|
42
42
|
class Client
|
43
|
+
# @private
|
44
|
+
API_VERSION = ""
|
45
|
+
|
43
46
|
# @private
|
44
47
|
DEFAULT_ENDPOINT_TEMPLATE = "cloudcommerceconsumerprocurement.$UNIVERSE_DOMAIN$"
|
45
48
|
|
@@ -280,10 +283,11 @@ module Google
|
|
280
283
|
# Customize the options with defaults
|
281
284
|
metadata = @config.rpcs.place_order.metadata.to_h
|
282
285
|
|
283
|
-
# Set x-goog-api-client
|
286
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
284
287
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
285
288
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
286
289
|
gapic_version: ::Google::Cloud::Commerce::Consumer::Procurement::V1::VERSION
|
290
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
287
291
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
288
292
|
|
289
293
|
header_params = {}
|
@@ -367,10 +371,11 @@ module Google
|
|
367
371
|
# Customize the options with defaults
|
368
372
|
metadata = @config.rpcs.get_order.metadata.to_h
|
369
373
|
|
370
|
-
# Set x-goog-api-client
|
374
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
371
375
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
372
376
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
373
377
|
gapic_version: ::Google::Cloud::Commerce::Consumer::Procurement::V1::VERSION
|
378
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
374
379
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
375
380
|
|
376
381
|
header_params = {}
|
@@ -481,10 +486,11 @@ module Google
|
|
481
486
|
# Customize the options with defaults
|
482
487
|
metadata = @config.rpcs.list_orders.metadata.to_h
|
483
488
|
|
484
|
-
# Set x-goog-api-client
|
489
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
485
490
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
486
491
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
487
492
|
gapic_version: ::Google::Cloud::Commerce::Consumer::Procurement::V1::VERSION
|
493
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
488
494
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
489
495
|
|
490
496
|
header_params = {}
|
data/lib/google/cloud/commerce/consumer/procurement/v1/consumer_procurement_service/operations.rb
CHANGED
@@ -28,6 +28,9 @@ module Google
|
|
28
28
|
module ConsumerProcurementService
|
29
29
|
# Service that implements Longrunning Operations API.
|
30
30
|
class Operations
|
31
|
+
# @private
|
32
|
+
API_VERSION = ""
|
33
|
+
|
31
34
|
# @private
|
32
35
|
DEFAULT_ENDPOINT_TEMPLATE = "cloudcommerceconsumerprocurement.$UNIVERSE_DOMAIN$"
|
33
36
|
|
@@ -193,10 +196,11 @@ module Google
|
|
193
196
|
# Customize the options with defaults
|
194
197
|
metadata = @config.rpcs.list_operations.metadata.to_h
|
195
198
|
|
196
|
-
# Set x-goog-api-client
|
199
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
197
200
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
198
201
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
199
202
|
gapic_version: ::Google::Cloud::Commerce::Consumer::Procurement::V1::VERSION
|
203
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
200
204
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
201
205
|
|
202
206
|
header_params = {}
|
@@ -289,10 +293,11 @@ module Google
|
|
289
293
|
# Customize the options with defaults
|
290
294
|
metadata = @config.rpcs.get_operation.metadata.to_h
|
291
295
|
|
292
|
-
# Set x-goog-api-client
|
296
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
293
297
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
294
298
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
295
299
|
gapic_version: ::Google::Cloud::Commerce::Consumer::Procurement::V1::VERSION
|
300
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
296
301
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
297
302
|
|
298
303
|
header_params = {}
|
@@ -378,10 +383,11 @@ module Google
|
|
378
383
|
# Customize the options with defaults
|
379
384
|
metadata = @config.rpcs.delete_operation.metadata.to_h
|
380
385
|
|
381
|
-
# Set x-goog-api-client
|
386
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
382
387
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
383
388
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
384
389
|
gapic_version: ::Google::Cloud::Commerce::Consumer::Procurement::V1::VERSION
|
390
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
385
391
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
386
392
|
|
387
393
|
header_params = {}
|
@@ -472,10 +478,11 @@ module Google
|
|
472
478
|
# Customize the options with defaults
|
473
479
|
metadata = @config.rpcs.cancel_operation.metadata.to_h
|
474
480
|
|
475
|
-
# Set x-goog-api-client
|
481
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
476
482
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
477
483
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
478
484
|
gapic_version: ::Google::Cloud::Commerce::Consumer::Procurement::V1::VERSION
|
485
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
479
486
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
480
487
|
|
481
488
|
header_params = {}
|
@@ -576,10 +583,11 @@ module Google
|
|
576
583
|
# Customize the options with defaults
|
577
584
|
metadata = @config.rpcs.wait_operation.metadata.to_h
|
578
585
|
|
579
|
-
# Set x-goog-api-client
|
586
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
580
587
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
581
588
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
582
589
|
gapic_version: ::Google::Cloud::Commerce::Consumer::Procurement::V1::VERSION
|
590
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
583
591
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
584
592
|
|
585
593
|
options.apply_defaults timeout: @config.rpcs.wait_operation.timeout,
|
data/lib/google/cloud/commerce/consumer/procurement/v1/consumer_procurement_service/rest/client.rb
CHANGED
@@ -42,6 +42,9 @@ module Google
|
|
42
42
|
# for charging for the procured item.
|
43
43
|
#
|
44
44
|
class Client
|
45
|
+
# @private
|
46
|
+
API_VERSION = ""
|
47
|
+
|
45
48
|
# @private
|
46
49
|
DEFAULT_ENDPOINT_TEMPLATE = "cloudcommerceconsumerprocurement.$UNIVERSE_DOMAIN$"
|
47
50
|
|
@@ -272,12 +275,13 @@ module Google
|
|
272
275
|
# Customize the options with defaults
|
273
276
|
call_metadata = @config.rpcs.place_order.metadata.to_h
|
274
277
|
|
275
|
-
# Set x-goog-api-client
|
278
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
276
279
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
277
280
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
278
281
|
gapic_version: ::Google::Cloud::Commerce::Consumer::Procurement::V1::VERSION,
|
279
282
|
transports_version_send: [:rest]
|
280
283
|
|
284
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
281
285
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
282
286
|
|
283
287
|
options.apply_defaults timeout: @config.rpcs.place_order.timeout,
|
@@ -352,12 +356,13 @@ module Google
|
|
352
356
|
# Customize the options with defaults
|
353
357
|
call_metadata = @config.rpcs.get_order.metadata.to_h
|
354
358
|
|
355
|
-
# Set x-goog-api-client
|
359
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
356
360
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
357
361
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
358
362
|
gapic_version: ::Google::Cloud::Commerce::Consumer::Procurement::V1::VERSION,
|
359
363
|
transports_version_send: [:rest]
|
360
364
|
|
365
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
361
366
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
362
367
|
|
363
368
|
options.apply_defaults timeout: @config.rpcs.get_order.timeout,
|
@@ -459,12 +464,13 @@ module Google
|
|
459
464
|
# Customize the options with defaults
|
460
465
|
call_metadata = @config.rpcs.list_orders.metadata.to_h
|
461
466
|
|
462
|
-
# Set x-goog-api-client
|
467
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
463
468
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
464
469
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
465
470
|
gapic_version: ::Google::Cloud::Commerce::Consumer::Procurement::V1::VERSION,
|
466
471
|
transports_version_send: [:rest]
|
467
472
|
|
473
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
468
474
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
469
475
|
|
470
476
|
options.apply_defaults timeout: @config.rpcs.list_orders.timeout,
|
@@ -28,6 +28,9 @@ module Google
|
|
28
28
|
module Rest
|
29
29
|
# Service that implements Longrunning Operations API.
|
30
30
|
class Operations
|
31
|
+
# @private
|
32
|
+
API_VERSION = ""
|
33
|
+
|
31
34
|
# @private
|
32
35
|
DEFAULT_ENDPOINT_TEMPLATE = "cloudcommerceconsumerprocurement.$UNIVERSE_DOMAIN$"
|
33
36
|
|
@@ -183,12 +186,13 @@ module Google
|
|
183
186
|
# Customize the options with defaults
|
184
187
|
call_metadata = @config.rpcs.list_operations.metadata.to_h
|
185
188
|
|
186
|
-
# Set x-goog-api-client
|
189
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
187
190
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
188
191
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
189
192
|
gapic_version: ::Google::Cloud::Commerce::Consumer::Procurement::V1::VERSION,
|
190
193
|
transports_version_send: [:rest]
|
191
194
|
|
195
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
192
196
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
193
197
|
|
194
198
|
options.apply_defaults timeout: @config.rpcs.list_operations.timeout,
|
@@ -271,12 +275,13 @@ module Google
|
|
271
275
|
# Customize the options with defaults
|
272
276
|
call_metadata = @config.rpcs.get_operation.metadata.to_h
|
273
277
|
|
274
|
-
# Set x-goog-api-client
|
278
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
275
279
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
276
280
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
277
281
|
gapic_version: ::Google::Cloud::Commerce::Consumer::Procurement::V1::VERSION,
|
278
282
|
transports_version_send: [:rest]
|
279
283
|
|
284
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
280
285
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
281
286
|
|
282
287
|
options.apply_defaults timeout: @config.rpcs.get_operation.timeout,
|
@@ -353,12 +358,13 @@ module Google
|
|
353
358
|
# Customize the options with defaults
|
354
359
|
call_metadata = @config.rpcs.delete_operation.metadata.to_h
|
355
360
|
|
356
|
-
# Set x-goog-api-client
|
361
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
357
362
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
358
363
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
359
364
|
gapic_version: ::Google::Cloud::Commerce::Consumer::Procurement::V1::VERSION,
|
360
365
|
transports_version_send: [:rest]
|
361
366
|
|
367
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
362
368
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
363
369
|
|
364
370
|
options.apply_defaults timeout: @config.rpcs.delete_operation.timeout,
|
@@ -440,12 +446,13 @@ module Google
|
|
440
446
|
# Customize the options with defaults
|
441
447
|
call_metadata = @config.rpcs.cancel_operation.metadata.to_h
|
442
448
|
|
443
|
-
# Set x-goog-api-client
|
449
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
444
450
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
445
451
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
446
452
|
gapic_version: ::Google::Cloud::Commerce::Consumer::Procurement::V1::VERSION,
|
447
453
|
transports_version_send: [:rest]
|
448
454
|
|
455
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
449
456
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
450
457
|
|
451
458
|
options.apply_defaults timeout: @config.rpcs.cancel_operation.timeout,
|
@@ -118,6 +118,10 @@ module Google
|
|
118
118
|
# @return [::String]
|
119
119
|
# Optional link to proto reference documentation. Example:
|
120
120
|
# https://cloud.google.com/pubsub/lite/docs/reference/rpc
|
121
|
+
# @!attribute [rw] rest_reference_documentation_uri
|
122
|
+
# @return [::String]
|
123
|
+
# Optional link to REST reference documentation. Example:
|
124
|
+
# https://cloud.google.com/pubsub/lite/docs/reference/rest
|
121
125
|
class Publishing
|
122
126
|
include ::Google::Protobuf::MessageExts
|
123
127
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -286,6 +290,13 @@ module Google
|
|
286
290
|
# @return [::String]
|
287
291
|
# The fully qualified name of the method, for which the options below apply.
|
288
292
|
# This is used to find the method to apply the options.
|
293
|
+
#
|
294
|
+
# Example:
|
295
|
+
#
|
296
|
+
# publishing:
|
297
|
+
# method_settings:
|
298
|
+
# - selector: google.storage.control.v2.StorageControl.CreateFolder
|
299
|
+
# # method settings for CreateFolder...
|
289
300
|
# @!attribute [rw] long_running
|
290
301
|
# @return [::Google::Api::MethodSettings::LongRunning]
|
291
302
|
# Describes settings to use for long-running operations when generating
|
@@ -294,17 +305,14 @@ module Google
|
|
294
305
|
#
|
295
306
|
# Example of a YAML configuration::
|
296
307
|
#
|
297
|
-
#
|
298
|
-
#
|
308
|
+
# publishing:
|
309
|
+
# method_settings:
|
299
310
|
# - selector: google.cloud.speech.v2.Speech.BatchRecognize
|
300
311
|
# long_running:
|
301
|
-
# initial_poll_delay:
|
302
|
-
# seconds: 60 # 1 minute
|
312
|
+
# initial_poll_delay: 60s # 1 minute
|
303
313
|
# poll_delay_multiplier: 1.5
|
304
|
-
# max_poll_delay:
|
305
|
-
#
|
306
|
-
# total_poll_timeout:
|
307
|
-
# seconds: 54000 # 90 minutes
|
314
|
+
# max_poll_delay: 360s # 6 minutes
|
315
|
+
# total_poll_timeout: 54000s # 90 minutes
|
308
316
|
# @!attribute [rw] auto_populated_fields
|
309
317
|
# @return [::Array<::String>]
|
310
318
|
# List of top-level fields of the request message, that should be
|
@@ -313,8 +321,8 @@ module Google
|
|
313
321
|
#
|
314
322
|
# Example of a YAML configuration:
|
315
323
|
#
|
316
|
-
#
|
317
|
-
#
|
324
|
+
# publishing:
|
325
|
+
# method_settings:
|
318
326
|
# - selector: google.example.v1.ExampleService.CreateExample
|
319
327
|
# auto_populated_fields:
|
320
328
|
# - request_id
|
@@ -124,8 +124,13 @@ module Google
|
|
124
124
|
# @return [::String]
|
125
125
|
# The plural name used in the resource name and permission names, such as
|
126
126
|
# 'projects' for the resource name of 'projects/\\{project}' and the permission
|
127
|
-
# name of 'cloudresourcemanager.googleapis.com/projects.get'.
|
128
|
-
#
|
127
|
+
# name of 'cloudresourcemanager.googleapis.com/projects.get'. One exception
|
128
|
+
# to this is for Nested Collections that have stuttering names, as defined
|
129
|
+
# in [AIP-122](https://google.aip.dev/122#nested-collections), where the
|
130
|
+
# collection ID in the resource name pattern does not necessarily directly
|
131
|
+
# match the `plural` value.
|
132
|
+
#
|
133
|
+
# It is the same concept of the `plural` field in k8s CRD spec
|
129
134
|
# https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
|
130
135
|
#
|
131
136
|
# Note: The plural form is required even for singleton resources. See
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-commerce-consumer-procurement-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.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: 2024-
|
11
|
+
date: 2024-08-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|