google-cloud-commerce-consumer-procurement-v1 0.4.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- 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 +4 -0
- 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: 8fcd1df89e3b71d4502d2b79e94f95e9c687c93a3cc25d11308cd0ba599c05cd
|
4
|
+
data.tar.gz: a4c9d9556608d1a049c8bd0bd677223101bb05a4c0076f884161aa9f47e0a8a6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c55276dd42e2f4a868388afe462367e0c635126e0495eaebb0403a729b809c68de24b4fba6697c18c90e93ae6f4152ab03bebe6abc2a9b7a9d0ba001b59f19a0
|
7
|
+
data.tar.gz: 63cfdff41322f1d19795a0a4e63303ad8301e6d247cc44e71040008a3155f0e6cdc546950c06bfd459bb314e9eaf33b177d6eb290c9e348004c7702960e497ca
|
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
|
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.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: 2024-
|
11
|
+
date: 2024-07-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|