google-cloud-commerce-consumer-procurement-v1 0.3.2 → 1.0.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: 4fc87dd973e58d06493d01717548e942e1d578a455d1ca4bc2d3a27b0ffe9bda
4
- data.tar.gz: 6ad8e5edc8d7aee7d470b4d19f41db58b6f96859bde62c6cd3743f357969fab9
3
+ metadata.gz: 8fcd1df89e3b71d4502d2b79e94f95e9c687c93a3cc25d11308cd0ba599c05cd
4
+ data.tar.gz: a4c9d9556608d1a049c8bd0bd677223101bb05a4c0076f884161aa9f47e0a8a6
5
5
  SHA512:
6
- metadata.gz: b5efccc81d46e183cb0dc80f2b8b86b69c3c396e0e022a10ad3a589f360c36bd72770696319da8ca48eb93cc278c3ff8605ccbe0b80943f84be38561a1c28579
7
- data.tar.gz: e83933e413d021de9bcb28c60f30c23e0f41de80bf7f28641034af9fc57d1707de2d6856c7971013e91d587b6f87d19ee4d7d65fddc9e66991b168733c75cca3
6
+ metadata.gz: c55276dd42e2f4a868388afe462367e0c635126e0495eaebb0403a729b809c68de24b4fba6697c18c90e93ae6f4152ab03bebe6abc2a9b7a9d0ba001b59f19a0
7
+ data.tar.gz: 63cfdff41322f1d19795a0a4e63303ad8301e6d247cc44e71040008a3155f0e6cdc546950c06bfd459bb314e9eaf33b177d6eb290c9e348004c7702960e497ca
data/README.md CHANGED
@@ -76,7 +76,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
76
76
 
77
77
  ## Supported Ruby Versions
78
78
 
79
- This library is supported on Ruby 2.6+.
79
+ This library is supported on Ruby 2.7+.
80
80
 
81
81
  Google provides official support for Ruby versions that are actively supported
82
82
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
@@ -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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 = {}
@@ -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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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,
@@ -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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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,
@@ -9,7 +9,7 @@ require 'google/api/resource_pb'
9
9
  require 'google/protobuf/timestamp_pb'
10
10
 
11
11
 
12
- descriptor_data = "\n9google/cloud/commerce/consumer/procurement/v1/order.proto\x12-google.cloud.commerce.consumer.procurement.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xd1\x03\n\x05Order\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03\x12\x1a\n\x0c\x64isplay_name\x18\n \x01(\tB\x04\xe2\x41\x01\x02\x12Q\n\nline_items\x18\x06 \x03(\x0b\x32\x37.google.cloud.commerce.consumer.procurement.v1.LineItemB\x04\xe2\x41\x01\x03\x12[\n\x14\x63\x61ncelled_line_items\x18\x07 \x03(\x0b\x32\x37.google.cloud.commerce.consumer.procurement.v1.LineItemB\x04\xe2\x41\x01\x03\x12\x35\n\x0b\x63reate_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0bupdate_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x0c\n\x04\x65tag\x18\x0b \x01(\t:l\xea\x41i\n5cloudcommerceconsumerprocurement.googleapis.com/Order\x12\x30\x62illingAccounts/{billing_account}/orders/{order}\"\xbb\x02\n\x08LineItem\x12\x1a\n\x0cline_item_id\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03\x12Y\n\x0eline_item_info\x18\x02 \x01(\x0b\x32;.google.cloud.commerce.consumer.procurement.v1.LineItemInfoB\x04\xe2\x41\x01\x03\x12[\n\x0epending_change\x18\x03 \x01(\x0b\x32=.google.cloud.commerce.consumer.procurement.v1.LineItemChangeB\x04\xe2\x41\x01\x03\x12[\n\x0e\x63hange_history\x18\x04 \x03(\x0b\x32=.google.cloud.commerce.consumer.procurement.v1.LineItemChangeB\x04\xe2\x41\x01\x03\"\xe0\x05\n\x0eLineItemChange\x12\x17\n\tchange_id\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03\x12\\\n\x0b\x63hange_type\x18\x02 \x01(\x0e\x32\x41.google.cloud.commerce.consumer.procurement.v1.LineItemChangeTypeB\x04\xe2\x41\x01\x02\x12]\n\x12old_line_item_info\x18\x03 \x01(\x0b\x32;.google.cloud.commerce.consumer.procurement.v1.LineItemInfoB\x04\xe2\x41\x01\x03\x12W\n\x12new_line_item_info\x18\x04 \x01(\x0b\x32;.google.cloud.commerce.consumer.procurement.v1.LineItemInfo\x12^\n\x0c\x63hange_state\x18\x05 \x01(\x0e\x32\x42.google.cloud.commerce.consumer.procurement.v1.LineItemChangeStateB\x04\xe2\x41\x01\x03\x12\x1a\n\x0cstate_reason\x18\x06 \x01(\tB\x04\xe2\x41\x01\x03\x12t\n\x18\x63hange_state_reason_type\x18\n \x01(\x0e\x32L.google.cloud.commerce.consumer.procurement.v1.LineItemChangeStateReasonTypeB\x04\xe2\x41\x01\x03\x12?\n\x15\x63hange_effective_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0b\x63reate_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0bupdate_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\"\xfe\x01\n\x0cLineItemInfo\x12\x41\n\x05offer\x18\r \x01(\tB2\xe2\x41\x01\x01\xfa\x41+\n)commerceoffercatalog.googleapis.com/Offer\x12R\n\nparameters\x18\t \x03(\x0b\x32\x38.google.cloud.commerce.consumer.procurement.v1.ParameterB\x04\xe2\x41\x01\x01\x12W\n\x0csubscription\x18\n \x01(\x0b\x32;.google.cloud.commerce.consumer.procurement.v1.SubscriptionB\x04\xe2\x41\x01\x03\"\xc0\x01\n\tParameter\x12\x0c\n\x04name\x18\x01 \x01(\t\x12M\n\x05value\x18\x02 \x01(\x0b\x32>.google.cloud.commerce.consumer.procurement.v1.Parameter.Value\x1aV\n\x05Value\x12\x15\n\x0bint64_value\x18\x03 \x01(\x03H\x00\x12\x16\n\x0cstring_value\x18\x04 \x01(\tH\x00\x12\x16\n\x0c\x64ouble_value\x18\x05 \x01(\x01H\x00\x42\x06\n\x04kind\"\x8a\x01\n\x0cSubscription\x12.\n\nstart_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x1c\n\x14\x61uto_renewal_enabled\x18\x02 \x01(\x08*\xd0\x01\n\x12LineItemChangeType\x12%\n!LINE_ITEM_CHANGE_TYPE_UNSPECIFIED\x10\x00\x12 \n\x1cLINE_ITEM_CHANGE_TYPE_CREATE\x10\x01\x12 \n\x1cLINE_ITEM_CHANGE_TYPE_UPDATE\x10\x02\x12 \n\x1cLINE_ITEM_CHANGE_TYPE_CANCEL\x10\x03\x12-\n)LINE_ITEM_CHANGE_TYPE_REVERT_CANCELLATION\x10\x04*\xa7\x02\n\x13LineItemChangeState\x12&\n\"LINE_ITEM_CHANGE_STATE_UNSPECIFIED\x10\x00\x12+\n\'LINE_ITEM_CHANGE_STATE_PENDING_APPROVAL\x10\x01\x12#\n\x1fLINE_ITEM_CHANGE_STATE_APPROVED\x10\x02\x12$\n LINE_ITEM_CHANGE_STATE_COMPLETED\x10\x03\x12#\n\x1fLINE_ITEM_CHANGE_STATE_REJECTED\x10\x04\x12$\n LINE_ITEM_CHANGE_STATE_ABANDONED\x10\x05\x12%\n!LINE_ITEM_CHANGE_STATE_ACTIVATING\x10\x06*\xf3\x01\n\x1dLineItemChangeStateReasonType\x12\x32\n.LINE_ITEM_CHANGE_STATE_REASON_TYPE_UNSPECIFIED\x10\x00\x12.\n*LINE_ITEM_CHANGE_STATE_REASON_TYPE_EXPIRED\x10\x01\x12\x35\n1LINE_ITEM_CHANGE_STATE_REASON_TYPE_USER_CANCELLED\x10\x02\x12\x37\n3LINE_ITEM_CHANGE_STATE_REASON_TYPE_SYSTEM_CANCELLED\x10\x03\x42\xb4\x03\n1com.google.cloud.commerce.consumer.procurement.v1P\x01ZScloud.google.com/go/commerce/consumer/procurement/apiv1/procurementpb;procurementpb\xaa\x02-Google.Cloud.Commerce.Consumer.Procurement.V1\xca\x02-Google\\Cloud\\Commerce\\Consumer\\Procurement\\V1\xea\x02\x32Google::Cloud::Commerce::Consumer::Procurement::V1\xea\x41\x91\x01\n)commerceoffercatalog.googleapis.com/Offer\x12)services/{service}/standardOffers/{offer}\x12\x39\x62illingAccounts/{consumer_billing_account}/offers/{offer}b\x06proto3"
12
+ descriptor_data = "\n9google/cloud/commerce/consumer/procurement/v1/order.proto\x12-google.cloud.commerce.consumer.procurement.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xcb\x03\n\x05Order\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0c\x64isplay_name\x18\n \x01(\tB\x03\xe0\x41\x02\x12P\n\nline_items\x18\x06 \x03(\x0b\x32\x37.google.cloud.commerce.consumer.procurement.v1.LineItemB\x03\xe0\x41\x03\x12Z\n\x14\x63\x61ncelled_line_items\x18\x07 \x03(\x0b\x32\x37.google.cloud.commerce.consumer.procurement.v1.LineItemB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x0c\n\x04\x65tag\x18\x0b \x01(\t:l\xea\x41i\n5cloudcommerceconsumerprocurement.googleapis.com/Order\x12\x30\x62illingAccounts/{billing_account}/orders/{order}\"\xb7\x02\n\x08LineItem\x12\x19\n\x0cline_item_id\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12X\n\x0eline_item_info\x18\x02 \x01(\x0b\x32;.google.cloud.commerce.consumer.procurement.v1.LineItemInfoB\x03\xe0\x41\x03\x12Z\n\x0epending_change\x18\x03 \x01(\x0b\x32=.google.cloud.commerce.consumer.procurement.v1.LineItemChangeB\x03\xe0\x41\x03\x12Z\n\x0e\x63hange_history\x18\x04 \x03(\x0b\x32=.google.cloud.commerce.consumer.procurement.v1.LineItemChangeB\x03\xe0\x41\x03\"\xd7\x05\n\x0eLineItemChange\x12\x16\n\tchange_id\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12[\n\x0b\x63hange_type\x18\x02 \x01(\x0e\x32\x41.google.cloud.commerce.consumer.procurement.v1.LineItemChangeTypeB\x03\xe0\x41\x02\x12\\\n\x12old_line_item_info\x18\x03 \x01(\x0b\x32;.google.cloud.commerce.consumer.procurement.v1.LineItemInfoB\x03\xe0\x41\x03\x12W\n\x12new_line_item_info\x18\x04 \x01(\x0b\x32;.google.cloud.commerce.consumer.procurement.v1.LineItemInfo\x12]\n\x0c\x63hange_state\x18\x05 \x01(\x0e\x32\x42.google.cloud.commerce.consumer.procurement.v1.LineItemChangeStateB\x03\xe0\x41\x03\x12\x19\n\x0cstate_reason\x18\x06 \x01(\tB\x03\xe0\x41\x03\x12s\n\x18\x63hange_state_reason_type\x18\n \x01(\x0e\x32L.google.cloud.commerce.consumer.procurement.v1.LineItemChangeStateReasonTypeB\x03\xe0\x41\x03\x12>\n\x15\x63hange_effective_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\"\xfb\x01\n\x0cLineItemInfo\x12@\n\x05offer\x18\r \x01(\tB1\xe0\x41\x01\xfa\x41+\n)commerceoffercatalog.googleapis.com/Offer\x12Q\n\nparameters\x18\t \x03(\x0b\x32\x38.google.cloud.commerce.consumer.procurement.v1.ParameterB\x03\xe0\x41\x01\x12V\n\x0csubscription\x18\n \x01(\x0b\x32;.google.cloud.commerce.consumer.procurement.v1.SubscriptionB\x03\xe0\x41\x03\"\xc0\x01\n\tParameter\x12\x0c\n\x04name\x18\x01 \x01(\t\x12M\n\x05value\x18\x02 \x01(\x0b\x32>.google.cloud.commerce.consumer.procurement.v1.Parameter.Value\x1aV\n\x05Value\x12\x15\n\x0bint64_value\x18\x03 \x01(\x03H\x00\x12\x16\n\x0cstring_value\x18\x04 \x01(\tH\x00\x12\x16\n\x0c\x64ouble_value\x18\x05 \x01(\x01H\x00\x42\x06\n\x04kind\"\x8a\x01\n\x0cSubscription\x12.\n\nstart_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x1c\n\x14\x61uto_renewal_enabled\x18\x02 \x01(\x08*\xd0\x01\n\x12LineItemChangeType\x12%\n!LINE_ITEM_CHANGE_TYPE_UNSPECIFIED\x10\x00\x12 \n\x1cLINE_ITEM_CHANGE_TYPE_CREATE\x10\x01\x12 \n\x1cLINE_ITEM_CHANGE_TYPE_UPDATE\x10\x02\x12 \n\x1cLINE_ITEM_CHANGE_TYPE_CANCEL\x10\x03\x12-\n)LINE_ITEM_CHANGE_TYPE_REVERT_CANCELLATION\x10\x04*\xa7\x02\n\x13LineItemChangeState\x12&\n\"LINE_ITEM_CHANGE_STATE_UNSPECIFIED\x10\x00\x12+\n\'LINE_ITEM_CHANGE_STATE_PENDING_APPROVAL\x10\x01\x12#\n\x1fLINE_ITEM_CHANGE_STATE_APPROVED\x10\x02\x12$\n LINE_ITEM_CHANGE_STATE_COMPLETED\x10\x03\x12#\n\x1fLINE_ITEM_CHANGE_STATE_REJECTED\x10\x04\x12$\n LINE_ITEM_CHANGE_STATE_ABANDONED\x10\x05\x12%\n!LINE_ITEM_CHANGE_STATE_ACTIVATING\x10\x06*\xf3\x01\n\x1dLineItemChangeStateReasonType\x12\x32\n.LINE_ITEM_CHANGE_STATE_REASON_TYPE_UNSPECIFIED\x10\x00\x12.\n*LINE_ITEM_CHANGE_STATE_REASON_TYPE_EXPIRED\x10\x01\x12\x35\n1LINE_ITEM_CHANGE_STATE_REASON_TYPE_USER_CANCELLED\x10\x02\x12\x37\n3LINE_ITEM_CHANGE_STATE_REASON_TYPE_SYSTEM_CANCELLED\x10\x03\x42\xb4\x03\n1com.google.cloud.commerce.consumer.procurement.v1P\x01ZScloud.google.com/go/commerce/consumer/procurement/apiv1/procurementpb;procurementpb\xaa\x02-Google.Cloud.Commerce.Consumer.Procurement.V1\xca\x02-Google\\Cloud\\Commerce\\Consumer\\Procurement\\V1\xea\x02\x32Google::Cloud::Commerce::Consumer::Procurement::V1\xea\x41\x91\x01\n)commerceoffercatalog.googleapis.com/Offer\x12)services/{service}/standardOffers/{offer}\x12\x39\x62illingAccounts/{consumer_billing_account}/offers/{offer}b\x06proto3"
13
13
 
14
14
  pool = Google::Protobuf::DescriptorPool.generated_pool
15
15
 
@@ -12,7 +12,7 @@ require 'google/cloud/commerce/consumer/procurement/v1/order_pb'
12
12
  require 'google/longrunning/operations_pb'
13
13
 
14
14
 
15
- descriptor_data = "\nGgoogle/cloud/commerce/consumer/procurement/v1/procurement_service.proto\x12-google.cloud.commerce.consumer.procurement.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x39google/cloud/commerce/consumer/procurement/v1/order.proto\x1a#google/longrunning/operations.proto\"\xe9\x01\n\x11PlaceOrderRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe2\x41\x01\x02\xfa\x41,\n*cloudbilling.googleapis.com/BillingAccount\x12\x1a\n\x0c\x64isplay_name\x18\x06 \x01(\tB\x04\xe2\x41\x01\x02\x12Y\n\x0eline_item_info\x18\n \x03(\x0b\x32;.google.cloud.commerce.consumer.procurement.v1.LineItemInfoB\x04\xe2\x41\x01\x01\x12\x18\n\nrequest_id\x18\x07 \x01(\tB\x04\xe2\x41\x01\x01\"\x14\n\x12PlaceOrderMetadata\"%\n\x0fGetOrderRequest\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\"`\n\x11ListOrdersRequest\x12\x14\n\x06parent\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\"s\n\x12ListOrdersResponse\x12\x44\n\x06orders\x18\x01 \x03(\x0b\x32\x34.google.cloud.commerce.consumer.procurement.v1.Order\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t2\xcc\x05\n\x1a\x43onsumerProcurementService\x12\xc3\x01\n\nPlaceOrder\x12@.google.cloud.commerce.consumer.procurement.v1.PlaceOrderRequest\x1a\x1d.google.longrunning.Operation\"T\xca\x41\x1b\n\x05Order\x12\x12PlaceOrderMetadata\x82\xd3\xe4\x93\x02\x30\"+/v1/{parent=billingAccounts/*}/orders:place:\x01*\x12\xb6\x01\n\x08GetOrder\x12>.google.cloud.commerce.consumer.procurement.v1.GetOrderRequest\x1a\x34.google.cloud.commerce.consumer.procurement.v1.Order\"4\xda\x41\x04name\x82\xd3\xe4\x93\x02\'\x12%/v1/{name=billingAccounts/*/orders/*}\x12\xc9\x01\n\nListOrders\x12@.google.cloud.commerce.consumer.procurement.v1.ListOrdersRequest\x1a\x41.google.cloud.commerce.consumer.procurement.v1.ListOrdersResponse\"6\xda\x41\x06parent\x82\xd3\xe4\x93\x02\'\x12%/v1/{parent=billingAccounts/*}/orders\x1a\x63\xca\x41/cloudcommerceconsumerprocurement.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x9f\x02\n1com.google.cloud.commerce.consumer.procurement.v1P\x01ZScloud.google.com/go/commerce/consumer/procurement/apiv1/procurementpb;procurementpb\xaa\x02-Google.Cloud.Commerce.Consumer.Procurement.V1\xca\x02-Google\\Cloud\\Commerce\\Consumer\\Procurement\\V1\xea\x02\x32Google::Cloud::Commerce::Consumer::Procurement::V1b\x06proto3"
15
+ descriptor_data = "\nGgoogle/cloud/commerce/consumer/procurement/v1/procurement_service.proto\x12-google.cloud.commerce.consumer.procurement.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x39google/cloud/commerce/consumer/procurement/v1/order.proto\x1a#google/longrunning/operations.proto\"\xe5\x01\n\x11PlaceOrderRequest\x12\x42\n\x06parent\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*cloudbilling.googleapis.com/BillingAccount\x12\x19\n\x0c\x64isplay_name\x18\x06 \x01(\tB\x03\xe0\x41\x02\x12X\n\x0eline_item_info\x18\n \x03(\x0b\x32;.google.cloud.commerce.consumer.procurement.v1.LineItemInfoB\x03\xe0\x41\x01\x12\x17\n\nrequest_id\x18\x07 \x01(\tB\x03\xe0\x41\x01\"\x14\n\x12PlaceOrderMetadata\"$\n\x0fGetOrderRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\"_\n\x11ListOrdersRequest\x12\x13\n\x06parent\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\"s\n\x12ListOrdersResponse\x12\x44\n\x06orders\x18\x01 \x03(\x0b\x32\x34.google.cloud.commerce.consumer.procurement.v1.Order\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t2\xcc\x05\n\x1a\x43onsumerProcurementService\x12\xc3\x01\n\nPlaceOrder\x12@.google.cloud.commerce.consumer.procurement.v1.PlaceOrderRequest\x1a\x1d.google.longrunning.Operation\"T\xca\x41\x1b\n\x05Order\x12\x12PlaceOrderMetadata\x82\xd3\xe4\x93\x02\x30\"+/v1/{parent=billingAccounts/*}/orders:place:\x01*\x12\xb6\x01\n\x08GetOrder\x12>.google.cloud.commerce.consumer.procurement.v1.GetOrderRequest\x1a\x34.google.cloud.commerce.consumer.procurement.v1.Order\"4\xda\x41\x04name\x82\xd3\xe4\x93\x02\'\x12%/v1/{name=billingAccounts/*/orders/*}\x12\xc9\x01\n\nListOrders\x12@.google.cloud.commerce.consumer.procurement.v1.ListOrdersRequest\x1a\x41.google.cloud.commerce.consumer.procurement.v1.ListOrdersResponse\"6\xda\x41\x06parent\x82\xd3\xe4\x93\x02\'\x12%/v1/{parent=billingAccounts/*}/orders\x1a\x63\xca\x41/cloudcommerceconsumerprocurement.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x9f\x02\n1com.google.cloud.commerce.consumer.procurement.v1P\x01ZScloud.google.com/go/commerce/consumer/procurement/apiv1/procurementpb;procurementpb\xaa\x02-Google.Cloud.Commerce.Consumer.Procurement.V1\xca\x02-Google\\Cloud\\Commerce\\Consumer\\Procurement\\V1\xea\x02\x32Google::Cloud::Commerce::Consumer::Procurement::V1b\x06proto3"
16
16
 
17
17
  pool = Google::Protobuf::DescriptorPool.generated_pool
18
18
 
@@ -23,7 +23,7 @@ module Google
23
23
  module Consumer
24
24
  module Procurement
25
25
  module V1
26
- VERSION = "0.3.2"
26
+ VERSION = "1.0.0"
27
27
  end
28
28
  end
29
29
  end
@@ -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.3.2
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-02-01 00:00:00.000000000 Z
11
+ date: 2024-07-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -44,118 +44,6 @@ dependencies:
44
44
  - - "~>"
45
45
  - !ruby/object:Gem::Version
46
46
  version: '1.0'
47
- - !ruby/object:Gem::Dependency
48
- name: google-style
49
- requirement: !ruby/object:Gem::Requirement
50
- requirements:
51
- - - "~>"
52
- - !ruby/object:Gem::Version
53
- version: 1.26.3
54
- type: :development
55
- prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
57
- requirements:
58
- - - "~>"
59
- - !ruby/object:Gem::Version
60
- version: 1.26.3
61
- - !ruby/object:Gem::Dependency
62
- name: minitest
63
- requirement: !ruby/object:Gem::Requirement
64
- requirements:
65
- - - "~>"
66
- - !ruby/object:Gem::Version
67
- version: '5.16'
68
- type: :development
69
- prerelease: false
70
- version_requirements: !ruby/object:Gem::Requirement
71
- requirements:
72
- - - "~>"
73
- - !ruby/object:Gem::Version
74
- version: '5.16'
75
- - !ruby/object:Gem::Dependency
76
- name: minitest-focus
77
- requirement: !ruby/object:Gem::Requirement
78
- requirements:
79
- - - "~>"
80
- - !ruby/object:Gem::Version
81
- version: '1.1'
82
- type: :development
83
- prerelease: false
84
- version_requirements: !ruby/object:Gem::Requirement
85
- requirements:
86
- - - "~>"
87
- - !ruby/object:Gem::Version
88
- version: '1.1'
89
- - !ruby/object:Gem::Dependency
90
- name: minitest-rg
91
- requirement: !ruby/object:Gem::Requirement
92
- requirements:
93
- - - "~>"
94
- - !ruby/object:Gem::Version
95
- version: '5.2'
96
- type: :development
97
- prerelease: false
98
- version_requirements: !ruby/object:Gem::Requirement
99
- requirements:
100
- - - "~>"
101
- - !ruby/object:Gem::Version
102
- version: '5.2'
103
- - !ruby/object:Gem::Dependency
104
- name: rake
105
- requirement: !ruby/object:Gem::Requirement
106
- requirements:
107
- - - ">="
108
- - !ruby/object:Gem::Version
109
- version: '13.0'
110
- type: :development
111
- prerelease: false
112
- version_requirements: !ruby/object:Gem::Requirement
113
- requirements:
114
- - - ">="
115
- - !ruby/object:Gem::Version
116
- version: '13.0'
117
- - !ruby/object:Gem::Dependency
118
- name: redcarpet
119
- requirement: !ruby/object:Gem::Requirement
120
- requirements:
121
- - - "~>"
122
- - !ruby/object:Gem::Version
123
- version: '3.0'
124
- type: :development
125
- prerelease: false
126
- version_requirements: !ruby/object:Gem::Requirement
127
- requirements:
128
- - - "~>"
129
- - !ruby/object:Gem::Version
130
- version: '3.0'
131
- - !ruby/object:Gem::Dependency
132
- name: simplecov
133
- requirement: !ruby/object:Gem::Requirement
134
- requirements:
135
- - - "~>"
136
- - !ruby/object:Gem::Version
137
- version: '0.18'
138
- type: :development
139
- prerelease: false
140
- version_requirements: !ruby/object:Gem::Requirement
141
- requirements:
142
- - - "~>"
143
- - !ruby/object:Gem::Version
144
- version: '0.18'
145
- - !ruby/object:Gem::Dependency
146
- name: yard
147
- requirement: !ruby/object:Gem::Requirement
148
- requirements:
149
- - - "~>"
150
- - !ruby/object:Gem::Version
151
- version: '0.9'
152
- type: :development
153
- prerelease: false
154
- version_requirements: !ruby/object:Gem::Requirement
155
- requirements:
156
- - - "~>"
157
- - !ruby/object:Gem::Version
158
- version: '0.9'
159
47
  description: Enables consumers to procure products served by Cloud Marketplace platform.
160
48
  Note that google-cloud-commerce-consumer-procurement-v1 is a version-specific client
161
49
  library. For most uses, we recommend installing the main client library google-cloud-commerce-consumer-procurement
@@ -210,14 +98,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
210
98
  requirements:
211
99
  - - ">="
212
100
  - !ruby/object:Gem::Version
213
- version: '2.6'
101
+ version: '2.7'
214
102
  required_rubygems_version: !ruby/object:Gem::Requirement
215
103
  requirements:
216
104
  - - ">="
217
105
  - !ruby/object:Gem::Version
218
106
  version: '0'
219
107
  requirements: []
220
- rubygems_version: 3.5.3
108
+ rubygems_version: 3.5.6
221
109
  signing_key:
222
110
  specification_version: 4
223
111
  summary: Enables consumers to procure products served by Cloud Marketplace platform.