google-cloud-commerce-consumer-procurement-v1 1.6.1 → 1.7.0
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/commerce/consumer/procurement/v1/license_management_service_pb.rb +2 -26
- data/lib/google/cloud/commerce/consumer/procurement/v1/order_pb.rb +2 -24
- data/lib/google/cloud/commerce/consumer/procurement/v1/procurement_service_pb.rb +2 -24
- data/lib/google/cloud/commerce/consumer/procurement/v1/version.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: a07ec0f5965f0d87339db358aab98cc13230d33ec14a0bd7887ea810307eb1ea
|
|
4
|
+
data.tar.gz: d4e5fe0e4bf98fce95463e1e3c25fd17bf9a6893a6dfa02f6d40729e90c7c59c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ad6f3f556108e7b4d1ab954403b6f7477d571717f78d9daedcecdc3dceac6e6ef3b9ba8732e9db9c7bc738eb6635fd06be2df49580099b143e095fff66c9ab40
|
|
7
|
+
data.tar.gz: 93c93137cbf3b1bf9d9d8902a7f95fe88bad1cb12d48af1617e7a51d3d1bbfa611593b6fbbf3858c2257d8c325310f29b295da265f2afcc4b080e47f29681f3d
|
|
@@ -15,32 +15,8 @@ require 'google/protobuf/timestamp_pb'
|
|
|
15
15
|
|
|
16
16
|
descriptor_data = "\nNgoogle/cloud/commerce/consumer/procurement/v1/license_management_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\x1egoogle/protobuf/duration.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x83\x03\n\x12\x41ssignmentProtocol\x12x\n\x16manual_assignment_type\x18\x02 \x01(\x0b\x32V.google.cloud.commerce.consumer.procurement.v1.AssignmentProtocol.ManualAssignmentTypeH\x00\x12t\n\x14\x61uto_assignment_type\x18\x03 \x01(\x0b\x32T.google.cloud.commerce.consumer.procurement.v1.AssignmentProtocol.AutoAssignmentTypeH\x00\x1a\x16\n\x14ManualAssignmentType\x1aR\n\x12\x41utoAssignmentType\x12<\n\x14inactive_license_ttl\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x01\x42\x11\n\x0f\x61ssignment_type\"\xf2\x02\n\x0bLicensePool\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12k\n\x1blicense_assignment_protocol\x18\x02 \x01(\x0b\x32\x41.google.cloud.commerce.consumer.procurement.v1.AssignmentProtocolB\x03\xe0\x41\x02\x12$\n\x17\x61vailable_license_count\x18\x03 \x01(\x05\x42\x03\xe0\x41\x03\x12 \n\x13total_license_count\x18\x04 \x01(\x05\x42\x03\xe0\x41\x03:\x9a\x01\xea\x41\x96\x01\n;cloudcommerceconsumerprocurement.googleapis.com/LicensePool\x12<billingAccounts/{billing_account}/orders/{order}/licensePool*\x0clicensePools2\x0blicensePool\"*\n\x15GetLicensePoolRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\"\xa7\x01\n\x18UpdateLicensePoolRequest\x12U\n\x0clicense_pool\x18\x01 \x01(\x0b\x32:.google.cloud.commerce.consumer.procurement.v1.LicensePoolB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"<\n\rAssignRequest\x12\x13\n\x06parent\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x16\n\tusernames\x18\x02 \x03(\tB\x03\xe0\x41\x02\"\x10\n\x0e\x41ssignResponse\">\n\x0fUnassignRequest\x12\x13\n\x06parent\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x16\n\tusernames\x18\x02 \x03(\tB\x03\xe0\x41\x02\"\x12\n\x10UnassignResponse\"e\n\x1d\x45numerateLicensedUsersRequest\x12\x13\n\x06parent\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\x92\x01\n\x0cLicensedUser\x12\x10\n\x08username\x18\x01 \x01(\t\x12\x34\n\x0b\x61ssign_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12:\n\x11recent_usage_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\"\x8e\x01\n\x1e\x45numerateLicensedUsersResponse\x12S\n\x0elicensed_users\x18\x01 \x03(\x0b\x32;.google.cloud.commerce.consumer.procurement.v1.LicensedUser\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t2\xc3\n\n\x18LicenseManagementService\x12\xd4\x01\n\x0eGetLicensePool\x12\x44.google.cloud.commerce.consumer.procurement.v1.GetLicensePoolRequest\x1a:.google.cloud.commerce.consumer.procurement.v1.LicensePool\"@\xda\x41\x04name\x82\xd3\xe4\x93\x02\x33\x12\x31/v1/{name=billingAccounts/*/orders/*/licensePool}\x12\x89\x02\n\x11UpdateLicensePool\x12G.google.cloud.commerce.consumer.procurement.v1.UpdateLicensePoolRequest\x1a:.google.cloud.commerce.consumer.procurement.v1.LicensePool\"o\xda\x41\x18license_pool,update_mask\x82\xd3\xe4\x93\x02N2>/v1/{license_pool.name=billingAccounts/*/orders/*/licensePool}:\x0clicense_pool\x12\xdf\x01\n\x06\x41ssign\x12<.google.cloud.commerce.consumer.procurement.v1.AssignRequest\x1a=.google.cloud.commerce.consumer.procurement.v1.AssignResponse\"X\xda\x41\x10parent,usernames\x82\xd3\xe4\x93\x02?\":/v1/{parent=billingAccounts/*/orders/*/licensePool}:assign:\x01*\x12\xe7\x01\n\x08Unassign\x12>.google.cloud.commerce.consumer.procurement.v1.UnassignRequest\x1a?.google.cloud.commerce.consumer.procurement.v1.UnassignResponse\"Z\xda\x41\x10parent,usernames\x82\xd3\xe4\x93\x02\x41\"</v1/{parent=billingAccounts/*/orders/*/licensePool}:unassign:\x01*\x12\x92\x02\n\x16\x45numerateLicensedUsers\x12L.google.cloud.commerce.consumer.procurement.v1.EnumerateLicensedUsersRequest\x1aM.google.cloud.commerce.consumer.procurement.v1.EnumerateLicensedUsersResponse\"[\xda\x41\x06parent\x82\xd3\xe4\x93\x02L\x12J/v1/{parent=billingAccounts/*/orders/*/licensePool}:enumerateLicensedUsers\x1a\x63\xca\x41/cloudcommerceconsumerprocurement.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xbe\x02\n1com.google.cloud.commerce.consumer.procurement.v1B\x1dLicenseManagementServiceProtoP\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"
|
|
17
17
|
|
|
18
|
-
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
19
|
-
|
|
20
|
-
begin
|
|
21
|
-
pool.add_serialized_file(descriptor_data)
|
|
22
|
-
rescue TypeError
|
|
23
|
-
# Compatibility code: will be removed in the next major version.
|
|
24
|
-
require 'google/protobuf/descriptor_pb'
|
|
25
|
-
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
|
26
|
-
parsed.clear_dependency
|
|
27
|
-
serialized = parsed.class.encode(parsed)
|
|
28
|
-
file = pool.add_serialized_file(serialized)
|
|
29
|
-
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
|
30
|
-
imports = [
|
|
31
|
-
["google.protobuf.Duration", "google/protobuf/duration.proto"],
|
|
32
|
-
["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
|
|
33
|
-
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
|
34
|
-
]
|
|
35
|
-
imports.each do |type_name, expected_filename|
|
|
36
|
-
import_file = pool.lookup(type_name).file_descriptor
|
|
37
|
-
if import_file.name != expected_filename
|
|
38
|
-
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
|
39
|
-
end
|
|
40
|
-
end
|
|
41
|
-
warn "Each proto file must use a consistent fully-qualified name."
|
|
42
|
-
warn "This will become an error in the next major version."
|
|
43
|
-
end
|
|
18
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
19
|
+
pool.add_serialized_file(descriptor_data)
|
|
44
20
|
|
|
45
21
|
module Google
|
|
46
22
|
module Cloud
|
|
@@ -11,30 +11,8 @@ require 'google/protobuf/timestamp_pb'
|
|
|
11
11
|
|
|
12
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
|
-
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
15
|
-
|
|
16
|
-
begin
|
|
17
|
-
pool.add_serialized_file(descriptor_data)
|
|
18
|
-
rescue TypeError
|
|
19
|
-
# Compatibility code: will be removed in the next major version.
|
|
20
|
-
require 'google/protobuf/descriptor_pb'
|
|
21
|
-
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
|
22
|
-
parsed.clear_dependency
|
|
23
|
-
serialized = parsed.class.encode(parsed)
|
|
24
|
-
file = pool.add_serialized_file(serialized)
|
|
25
|
-
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
|
26
|
-
imports = [
|
|
27
|
-
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
|
28
|
-
]
|
|
29
|
-
imports.each do |type_name, expected_filename|
|
|
30
|
-
import_file = pool.lookup(type_name).file_descriptor
|
|
31
|
-
if import_file.name != expected_filename
|
|
32
|
-
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
|
33
|
-
end
|
|
34
|
-
end
|
|
35
|
-
warn "Each proto file must use a consistent fully-qualified name."
|
|
36
|
-
warn "This will become an error in the next major version."
|
|
37
|
-
end
|
|
14
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
15
|
+
pool.add_serialized_file(descriptor_data)
|
|
38
16
|
|
|
39
17
|
module Google
|
|
40
18
|
module Cloud
|
|
@@ -14,30 +14,8 @@ require 'google/longrunning/operations_pb'
|
|
|
14
14
|
|
|
15
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(\t\"\x90\x04\n\x12ModifyOrderRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12j\n\rmodifications\x18\x06 \x03(\x0b\x32N.google.cloud.commerce.consumer.procurement.v1.ModifyOrderRequest.ModificationB\x03\xe0\x41\x01\x12\x19\n\x0c\x64isplay_name\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x11\n\x04\x65tag\x18\x04 \x01(\tB\x03\xe0\x41\x01\x1a\xcc\x02\n\x0cModification\x12\x19\n\x0cline_item_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12[\n\x0b\x63hange_type\x18\x02 \x01(\x0e\x32\x41.google.cloud.commerce.consumer.procurement.v1.LineItemChangeTypeB\x03\xe0\x41\x02\x12\\\n\x12new_line_item_info\x18\x03 \x01(\x0b\x32;.google.cloud.commerce.consumer.procurement.v1.LineItemInfoB\x03\xe0\x41\x01\x12\x66\n\x15\x61uto_renewal_behavior\x18\x04 \x01(\x0e\x32\x42.google.cloud.commerce.consumer.procurement.v1.AutoRenewalBehaviorB\x03\xe0\x41\x01\"\x15\n\x13ModifyOrderMetadata\"\xc6\x02\n\x12\x43\x61ncelOrderRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x11\n\x04\x65tag\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12v\n\x13\x63\x61ncellation_policy\x18\x03 \x01(\x0e\x32T.google.cloud.commerce.consumer.procurement.v1.CancelOrderRequest.CancellationPolicyB\x03\xe0\x41\x01\"\x91\x01\n\x12\x43\x61ncellationPolicy\x12#\n\x1f\x43\x41NCELLATION_POLICY_UNSPECIFIED\x10\x00\x12*\n&CANCELLATION_POLICY_CANCEL_IMMEDIATELY\x10\x01\x12*\n&CANCELLATION_POLICY_CANCEL_AT_TERM_END\x10\x02\"\x15\n\x13\x43\x61ncelOrderMetadata*\x81\x01\n\x13\x41utoRenewalBehavior\x12%\n!AUTO_RENEWAL_BEHAVIOR_UNSPECIFIED\x10\x00\x12 \n\x1c\x41UTO_RENEWAL_BEHAVIOR_ENABLE\x10\x01\x12!\n\x1d\x41UTO_RENEWAL_BEHAVIOR_DISABLE\x10\x02\x32\xe0\x08\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\x12\xc7\x01\n\x0bModifyOrder\x12\x41.google.cloud.commerce.consumer.procurement.v1.ModifyOrderRequest\x1a\x1d.google.longrunning.Operation\"V\xca\x41\x1c\n\x05Order\x12\x13ModifyOrderMetadata\x82\xd3\xe4\x93\x02\x31\",/v1/{name=billingAccounts/*/orders/*}:modify:\x01*\x12\xc7\x01\n\x0b\x43\x61ncelOrder\x12\x41.google.cloud.commerce.consumer.procurement.v1.CancelOrderRequest\x1a\x1d.google.longrunning.Operation\"V\xca\x41\x1c\n\x05Order\x12\x13\x43\x61ncelOrderMetadata\x82\xd3\xe4\x93\x02\x31\",/v1/{name=billingAccounts/*/orders/*}:cancel:\x01*\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
|
-
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
18
|
-
|
|
19
|
-
begin
|
|
20
|
-
pool.add_serialized_file(descriptor_data)
|
|
21
|
-
rescue TypeError
|
|
22
|
-
# Compatibility code: will be removed in the next major version.
|
|
23
|
-
require 'google/protobuf/descriptor_pb'
|
|
24
|
-
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
|
25
|
-
parsed.clear_dependency
|
|
26
|
-
serialized = parsed.class.encode(parsed)
|
|
27
|
-
file = pool.add_serialized_file(serialized)
|
|
28
|
-
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
|
29
|
-
imports = [
|
|
30
|
-
["google.cloud.commerce.consumer.procurement.v1.LineItemInfo", "google/cloud/commerce/consumer/procurement/v1/order.proto"],
|
|
31
|
-
]
|
|
32
|
-
imports.each do |type_name, expected_filename|
|
|
33
|
-
import_file = pool.lookup(type_name).file_descriptor
|
|
34
|
-
if import_file.name != expected_filename
|
|
35
|
-
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
|
36
|
-
end
|
|
37
|
-
end
|
|
38
|
-
warn "Each proto file must use a consistent fully-qualified name."
|
|
39
|
-
warn "This will become an error in the next major version."
|
|
40
|
-
end
|
|
17
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
18
|
+
pool.add_serialized_file(descriptor_data)
|
|
41
19
|
|
|
42
20
|
module Google
|
|
43
21
|
module Cloud
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-commerce-consumer-procurement-v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.7.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -101,7 +101,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
101
101
|
requirements:
|
|
102
102
|
- - ">="
|
|
103
103
|
- !ruby/object:Gem::Version
|
|
104
|
-
version: '3.
|
|
104
|
+
version: '3.2'
|
|
105
105
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
106
106
|
requirements:
|
|
107
107
|
- - ">="
|