google-shopping-merchant-issue_resolution-v1 0.a → 0.1.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.
Files changed (36) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +12 -0
  3. data/AUTHENTICATION.md +122 -0
  4. data/README.md +154 -8
  5. data/lib/google/shopping/merchant/issue_resolution/v1/aggregate_product_statuses_service/client.rb +491 -0
  6. data/lib/google/shopping/merchant/issue_resolution/v1/aggregate_product_statuses_service/credentials.rb +49 -0
  7. data/lib/google/shopping/merchant/issue_resolution/v1/aggregate_product_statuses_service/paths.rb +49 -0
  8. data/lib/google/shopping/merchant/issue_resolution/v1/aggregate_product_statuses_service/rest/client.rb +458 -0
  9. data/lib/google/shopping/merchant/issue_resolution/v1/aggregate_product_statuses_service/rest/service_stub.rb +144 -0
  10. data/lib/google/shopping/merchant/issue_resolution/v1/aggregate_product_statuses_service/rest.rb +54 -0
  11. data/lib/google/shopping/merchant/issue_resolution/v1/aggregate_product_statuses_service.rb +57 -0
  12. data/lib/google/shopping/merchant/issue_resolution/v1/issue_resolution_service/client.rb +692 -0
  13. data/lib/google/shopping/merchant/issue_resolution/v1/issue_resolution_service/credentials.rb +49 -0
  14. data/lib/google/shopping/merchant/issue_resolution/v1/issue_resolution_service/paths.rb +66 -0
  15. data/lib/google/shopping/merchant/issue_resolution/v1/issue_resolution_service/rest/client.rb +645 -0
  16. data/lib/google/shopping/merchant/issue_resolution/v1/issue_resolution_service/rest/service_stub.rb +269 -0
  17. data/lib/google/shopping/merchant/issue_resolution/v1/issue_resolution_service/rest.rb +55 -0
  18. data/lib/google/shopping/merchant/issue_resolution/v1/issue_resolution_service.rb +58 -0
  19. data/lib/google/shopping/merchant/issue_resolution/v1/rest.rb +40 -0
  20. data/lib/google/shopping/merchant/issue_resolution/v1/version.rb +7 -2
  21. data/lib/google/shopping/merchant/issue_resolution/v1.rb +48 -0
  22. data/lib/google/shopping/merchant/issueresolution/v1/aggregateproductstatuses_pb.rb +56 -0
  23. data/lib/google/shopping/merchant/issueresolution/v1/aggregateproductstatuses_services_pb.rb +50 -0
  24. data/lib/google/shopping/merchant/issueresolution/v1/issueresolution_pb.rb +87 -0
  25. data/lib/google/shopping/merchant/issueresolution/v1/issueresolution_services_pb.rb +66 -0
  26. data/lib/google-shopping-merchant-issue_resolution-v1.rb +21 -0
  27. data/proto_docs/README.md +4 -0
  28. data/proto_docs/google/api/client.rb +473 -0
  29. data/proto_docs/google/api/field_behavior.rb +85 -0
  30. data/proto_docs/google/api/launch_stage.rb +71 -0
  31. data/proto_docs/google/api/resource.rb +227 -0
  32. data/proto_docs/google/protobuf/duration.rb +98 -0
  33. data/proto_docs/google/shopping/merchant/issueresolution/v1/aggregateproductstatuses.rb +173 -0
  34. data/proto_docs/google/shopping/merchant/issueresolution/v1/issueresolution.rb +952 -0
  35. data/proto_docs/google/shopping/type/types.rb +210 -0
  36. metadata +94 -9
@@ -0,0 +1,87 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/shopping/merchant/issueresolution/v1/issueresolution.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/api/annotations_pb'
8
+ require 'google/api/client_pb'
9
+ require 'google/api/field_behavior_pb'
10
+ require 'google/api/resource_pb'
11
+
12
+
13
+ descriptor_data = "\nAgoogle/shopping/merchant/issueresolution/v1/issueresolution.proto\x12+google.shopping.merchant.issueresolution.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"r\n\x1bRenderAccountIssuesResponse\x12S\n\x0frendered_issues\x18\x01 \x03(\x0b\x32:.google.shopping.merchant.issueresolution.v1.RenderedIssue\"\xe9\x01\n\x1aRenderAccountIssuesRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"merchantapi.googleapis.com/Account\x12\x1a\n\rlanguage_code\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\ttime_zone\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12]\n\x07payload\x18\x04 \x01(\x0b\x32G.google.shopping.merchant.issueresolution.v1.RenderIssuesRequestPayloadB\x03\xe0\x41\x01\"\xa3\x02\n\x1aRenderIssuesRequestPayload\x12\\\n\x0e\x63ontent_option\x18\x01 \x01(\x0e\x32:.google.shopping.merchant.issueresolution.v1.ContentOptionB\x03\xe0\x41\x01H\x00\x88\x01\x01\x12w\n\x18user_input_action_option\x18\x02 \x01(\x0e\x32K.google.shopping.merchant.issueresolution.v1.UserInputActionRenderingOptionB\x03\xe0\x41\x01H\x01\x88\x01\x01\x42\x11\n\x0f_content_optionB\x1b\n\x19_user_input_action_option\"r\n\x1bRenderProductIssuesResponse\x12S\n\x0frendered_issues\x18\x01 \x03(\x0b\x32:.google.shopping.merchant.issueresolution.v1.RenderedIssue\"\xe9\x01\n\x1aRenderProductIssuesRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"merchantapi.googleapis.com/Product\x12\x1a\n\rlanguage_code\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\ttime_zone\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12]\n\x07payload\x18\x04 \x01(\x0b\x32G.google.shopping.merchant.issueresolution.v1.RenderIssuesRequestPayloadB\x03\xe0\x41\x01\"\xad\x02\n\rRenderedIssue\x12\x1d\n\x13prerendered_content\x18\x03 \x01(\tH\x00\x12\x35\n+prerendered_out_of_court_dispute_settlement\x18\x05 \x01(\tH\x01\x12\r\n\x05title\x18\x01 \x01(\t\x12\x43\n\x06impact\x18\x02 \x01(\x0b\x32\x33.google.shopping.merchant.issueresolution.v1.Impact\x12\x44\n\x07\x61\x63tions\x18\x04 \x03(\x0b\x32\x33.google.shopping.merchant.issueresolution.v1.ActionB\t\n\x07\x63ontentB!\n\x1fout_of_court_dispute_settlement\"\xb3\x01\n\x06Impact\x12\x14\n\x07message\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12G\n\x08severity\x18\x02 \x01(\x0e\x32\x35.google.shopping.merchant.issueresolution.v1.Severity\x12J\n\nbreakdowns\x18\x03 \x03(\x0b\x32\x36.google.shopping.merchant.issueresolution.v1.Breakdown\"\x92\x01\n\tBreakdown\x12N\n\x07regions\x18\x01 \x03(\x0b\x32=.google.shopping.merchant.issueresolution.v1.Breakdown.Region\x12\x0f\n\x07\x64\x65tails\x18\x04 \x03(\t\x1a$\n\x06Region\x12\x0c\n\x04\x63ode\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\"\xc6\x04\n\x06\x41\x63tion\x12\x61\n\x15\x62uiltin_simple_action\x18\x02 \x01(\x0b\x32@.google.shopping.merchant.issueresolution.v1.BuiltInSimpleActionH\x00\x12V\n\x0f\x65xternal_action\x18\x03 \x01(\x0b\x32;.google.shopping.merchant.issueresolution.v1.ExternalActionH\x00\x12h\n\x19\x62uiltin_user_input_action\x18\x07 \x01(\x0b\x32\x43.google.shopping.merchant.issueresolution.v1.BuiltInUserInputActionH\x00\x12\x14\n\x0c\x62utton_label\x18\x04 \x01(\t\x12\x14\n\x0cis_available\x18\x05 \x01(\x08\x12K\n\x07reasons\x18\x06 \x03(\x0b\x32:.google.shopping.merchant.issueresolution.v1.Action.Reason\x1a\x93\x01\n\x06Reason\x12\x0f\n\x07message\x18\x01 \x01(\t\x12\x13\n\x06\x64\x65tail\x18\x02 \x01(\tH\x00\x88\x01\x01\x12M\n\x06\x61\x63tion\x18\x03 \x01(\x0b\x32\x33.google.shopping.merchant.issueresolution.v1.ActionB\x03\xe0\x41\x01H\x01\x88\x01\x01\x42\t\n\x07_detailB\t\n\x07_actionB\x08\n\x06\x61\x63tion\"\x90\x05\n\x13\x42uiltInSimpleAction\x12\x66\n\x04type\x18\x01 \x01(\x0e\x32X.google.shopping.merchant.issueresolution.v1.BuiltInSimpleAction.BuiltInSimpleActionType\x12\x1b\n\x0e\x61ttribute_code\x18\x02 \x01(\tH\x00\x88\x01\x01\x12s\n\x12\x61\x64\x64itional_content\x18\x03 \x01(\x0b\x32R.google.shopping.merchant.issueresolution.v1.BuiltInSimpleAction.AdditionalContentH\x01\x88\x01\x01\x1a\x36\n\x11\x41\x64\x64itionalContent\x12\r\n\x05title\x18\x01 \x01(\t\x12\x12\n\nparagraphs\x18\x02 \x03(\t\"\x9c\x02\n\x17\x42uiltInSimpleActionType\x12+\n\'BUILT_IN_SIMPLE_ACTION_TYPE_UNSPECIFIED\x10\x00\x12\x10\n\x0cVERIFY_PHONE\x10\x01\x12\x11\n\rCLAIM_WEBSITE\x10\x02\x12\x10\n\x0c\x41\x44\x44_PRODUCTS\x10\x03\x12\x14\n\x10\x41\x44\x44_CONTACT_INFO\x10\x04\x12\x14\n\x10LINK_ADS_ACCOUNT\x10\x05\x12$\n ADD_BUSINESS_REGISTRATION_NUMBER\x10\x06\x12\x17\n\x13\x45\x44IT_ITEM_ATTRIBUTE\x10\x07\x12\x15\n\x11\x46IX_ACCOUNT_ISSUE\x10\x08\x12\x1b\n\x17SHOW_ADDITIONAL_CONTENT\x10\tB\x11\n\x0f_attribute_codeB\x15\n\x13_additional_content\"x\n\x16\x42uiltInUserInputAction\x12\x16\n\x0e\x61\x63tion_context\x18\x01 \x01(\t\x12\x46\n\x05\x66lows\x18\x03 \x03(\x0b\x32\x37.google.shopping.merchant.issueresolution.v1.ActionFlow\"\xf7\x02\n\nActionFlow\x12\n\n\x02id\x18\x01 \x01(\t\x12\r\n\x05label\x18\x02 \x01(\t\x12G\n\x06inputs\x18\x03 \x03(\x0b\x32\x37.google.shopping.merchant.issueresolution.v1.InputField\x12\x14\n\x0c\x64ialog_title\x18\x04 \x01(\t\x12Y\n\x0e\x64ialog_message\x18\x07 \x01(\x0b\x32<.google.shopping.merchant.issueresolution.v1.TextWithTooltipH\x00\x88\x01\x01\x12Q\n\x0e\x64ialog_callout\x18\x08 \x01(\x0b\x32\x34.google.shopping.merchant.issueresolution.v1.CalloutH\x01\x88\x01\x01\x12\x1b\n\x13\x64ialog_button_label\x18\t \x01(\tB\x11\n\x0f_dialog_messageB\x11\n\x0f_dialog_callout\"\x92\t\n\nInputField\x12W\n\ntext_input\x18\x04 \x01(\x0b\x32\x41.google.shopping.merchant.issueresolution.v1.InputField.TextInputH\x00\x12[\n\x0c\x63hoice_input\x18\x05 \x01(\x0b\x32\x43.google.shopping.merchant.issueresolution.v1.InputField.ChoiceInputH\x00\x12_\n\x0e\x63heckbox_input\x18\x06 \x01(\x0b\x32\x45.google.shopping.merchant.issueresolution.v1.InputField.CheckboxInputH\x00\x12\n\n\x02id\x18\x01 \x01(\t\x12K\n\x05label\x18\x02 \x01(\x0b\x32<.google.shopping.merchant.issueresolution.v1.TextWithTooltip\x12\x10\n\x08required\x18\x03 \x01(\x08\x1a\x8d\x03\n\tTextInput\x12]\n\x04type\x18\x01 \x01(\x0e\x32O.google.shopping.merchant.issueresolution.v1.InputField.TextInput.TextInputType\x12Z\n\x0f\x61\x64\x64itional_info\x18\x02 \x01(\x0b\x32<.google.shopping.merchant.issueresolution.v1.TextWithTooltipH\x00\x88\x01\x01\x12\x18\n\x0b\x66ormat_info\x18\x03 \x01(\tH\x01\x88\x01\x01\x12\x17\n\naria_label\x18\x04 \x01(\tH\x02\x88\x01\x01\"_\n\rTextInputType\x12\x1f\n\x1bTEXT_INPUT_TYPE_UNSPECIFIED\x10\x00\x12\x16\n\x12GENERIC_SHORT_TEXT\x10\x01\x12\x15\n\x11GENERIC_LONG_TEXT\x10\x02\x42\x12\n\x10_additional_infoB\x0e\n\x0c_format_infoB\r\n\x0b_aria_label\x1a\xd1\x02\n\x0b\x43hoiceInput\x12\x66\n\x07options\x18\x01 \x03(\x0b\x32U.google.shopping.merchant.issueresolution.v1.InputField.ChoiceInput.ChoiceInputOption\x1a\xd9\x01\n\x11\x43hoiceInputOption\x12\n\n\x02id\x18\x01 \x01(\t\x12K\n\x05label\x18\x02 \x01(\x0b\x32<.google.shopping.merchant.issueresolution.v1.TextWithTooltip\x12V\n\x10\x61\x64\x64itional_input\x18\x03 \x01(\x0b\x32\x37.google.shopping.merchant.issueresolution.v1.InputFieldH\x00\x88\x01\x01\x42\x13\n\x11_additional_input\x1a\x0f\n\rCheckboxInputB\r\n\x0bvalue_input\"\x9e\x02\n\x0fTextWithTooltip\x12\x16\n\x0csimple_value\x18\x01 \x01(\tH\x00\x12\x1e\n\x14simple_tooltip_value\x18\x02 \x01(\tH\x01\x12i\n\x12tooltip_icon_style\x18\x03 \x01(\x0e\x32M.google.shopping.merchant.issueresolution.v1.TextWithTooltip.TooltipIconStyle\"N\n\x10TooltipIconStyle\x12\"\n\x1eTOOLTIP_ICON_STYLE_UNSPECIFIED\x10\x00\x12\x08\n\x04INFO\x10\x01\x12\x0c\n\x08QUESTION\x10\x02\x42\x07\n\x05valueB\x0f\n\rtooltip_value\"\x92\x02\n\x07\x43\x61llout\x12Y\n\nstyle_hint\x18\x01 \x01(\x0e\x32\x45.google.shopping.merchant.issueresolution.v1.Callout.CalloutStyleHint\x12R\n\x0c\x66ull_message\x18\x03 \x01(\x0b\x32<.google.shopping.merchant.issueresolution.v1.TextWithTooltip\"X\n\x10\x43\x61lloutStyleHint\x12\"\n\x1e\x43\x41LLOUT_STYLE_HINT_UNSPECIFIED\x10\x00\x12\t\n\x05\x45RROR\x10\x01\x12\x0b\n\x07WARNING\x10\x02\x12\x08\n\x04INFO\x10\x03\"\xdb\x02\n\x0e\x45xternalAction\x12\\\n\x04type\x18\x01 \x01(\x0e\x32N.google.shopping.merchant.issueresolution.v1.ExternalAction.ExternalActionType\x12\x0b\n\x03uri\x18\x02 \x01(\t\"\xdd\x01\n\x12\x45xternalActionType\x12$\n EXTERNAL_ACTION_TYPE_UNSPECIFIED\x10\x00\x12+\n\'REVIEW_PRODUCT_ISSUE_IN_MERCHANT_CENTER\x10\x01\x12+\n\'REVIEW_ACCOUNT_ISSUE_IN_MERCHANT_CENTER\x10\x02\x12\x1f\n\x1bLEGAL_APPEAL_IN_HELP_CENTER\x10\x03\x12&\n\"VERIFY_IDENTITY_IN_MERCHANT_CENTER\x10\x04\"\xc5\x01\n\x14TriggerActionRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"merchantapi.googleapis.com/Account\x12W\n\x07payload\x18\x02 \x01(\x0b\x32\x41.google.shopping.merchant.issueresolution.v1.TriggerActionPayloadB\x03\xe0\x41\x02\x12\x1a\n\rlanguage_code\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\x88\x01\n\x14TriggerActionPayload\x12\x1b\n\x0e\x61\x63tion_context\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12S\n\x0c\x61\x63tion_input\x18\x02 \x01(\x0b\x32\x38.google.shopping.merchant.issueresolution.v1.ActionInputB\x03\xe0\x41\x02\"(\n\x15TriggerActionResponse\x12\x0f\n\x07message\x18\x01 \x01(\t\"~\n\x0b\x41\x63tionInput\x12\x1b\n\x0e\x61\x63tion_flow_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12R\n\x0cinput_values\x18\x02 \x03(\x0b\x32\x37.google.shopping.merchant.issueresolution.v1.InputValueB\x03\xe0\x41\x02\"\xf3\x03\n\nInputValue\x12\x62\n\x10text_input_value\x18\x02 \x01(\x0b\x32\x46.google.shopping.merchant.issueresolution.v1.InputValue.TextInputValueH\x00\x12\x66\n\x12\x63hoice_input_value\x18\x03 \x01(\x0b\x32H.google.shopping.merchant.issueresolution.v1.InputValue.ChoiceInputValueH\x00\x12j\n\x14\x63heckbox_input_value\x18\x04 \x01(\x0b\x32J.google.shopping.merchant.issueresolution.v1.InputValue.CheckboxInputValueH\x00\x12\x1b\n\x0einput_field_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x1a$\n\x0eTextInputValue\x12\x12\n\x05value\x18\x01 \x01(\tB\x03\xe0\x41\x02\x1a\x37\n\x10\x43hoiceInputValue\x12#\n\x16\x63hoice_input_option_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x1a(\n\x12\x43heckboxInputValue\x12\x12\n\x05value\x18\x01 \x01(\x08\x42\x03\xe0\x41\x02\x42\x07\n\x05value*F\n\x08Severity\x12\x18\n\x14SEVERITY_UNSPECIFIED\x10\x00\x12\t\n\x05\x45RROR\x10\x01\x12\x0b\n\x07WARNING\x10\x02\x12\x08\n\x04INFO\x10\x03*F\n\rContentOption\x12\x1e\n\x1a\x43ONTENT_OPTION_UNSPECIFIED\x10\x00\x12\x15\n\x11PRE_RENDERED_HTML\x10\x01*\x96\x01\n\x1eUserInputActionRenderingOption\x12\x32\n.USER_INPUT_ACTION_RENDERING_OPTION_UNSPECIFIED\x10\x00\x12\x1f\n\x1bREDIRECT_TO_MERCHANT_CENTER\x10\x01\x12\x1f\n\x1b\x42UILT_IN_USER_INPUT_ACTIONS\x10\x02\x32\xce\x06\n\x16IssueResolutionService\x12\xfb\x01\n\x13RenderAccountIssues\x12G.google.shopping.merchant.issueresolution.v1.RenderAccountIssuesRequest\x1aH.google.shopping.merchant.issueresolution.v1.RenderAccountIssuesResponse\"Q\xda\x41\x04name\x82\xd3\xe4\x93\x02\x44\"9/issueresolution/v1/{name=accounts/*}:renderaccountissues:\x07payload\x12\x86\x02\n\x13RenderProductIssues\x12G.google.shopping.merchant.issueresolution.v1.RenderProductIssuesRequest\x1aH.google.shopping.merchant.issueresolution.v1.RenderProductIssuesResponse\"\\\xda\x41\x04name\x82\xd3\xe4\x93\x02O\"D/issueresolution/v1/{name=accounts/*/products/*}:renderproductissues:\x07payload\x12\xe3\x01\n\rTriggerAction\x12\x41.google.shopping.merchant.issueresolution.v1.TriggerActionRequest\x1a\x42.google.shopping.merchant.issueresolution.v1.TriggerActionResponse\"K\xda\x41\x04name\x82\xd3\xe4\x93\x02>\"3/issueresolution/v1/{name=accounts/*}:triggeraction:\x07payload\x1aG\xca\x41\x1amerchantapi.googleapis.com\xd2\x41\'https://www.googleapis.com/auth/contentB\xc1\x03\n/com.google.shopping.merchant.issueresolution.v1B\x14IssueResolutionProtoP\x01Z_cloud.google.com/go/shopping/merchant/issueresolution/apiv1/issueresolutionpb;issueresolutionpb\xaa\x02+Google.Shopping.Merchant.IssueResolution.V1\xca\x02+Google\\Shopping\\Merchant\\IssueResolution\\V1\xea\x02/Google::Shopping::Merchant::IssueResolution::V1\xea\x41\x38\n\"merchantapi.googleapis.com/Account\x12\x12\x61\x63\x63ounts/{account}\xea\x41K\n\"merchantapi.googleapis.com/Product\x12%accounts/{account}/products/{product}b\x06proto3"
14
+
15
+ pool = Google::Protobuf::DescriptorPool.generated_pool
16
+
17
+ begin
18
+ pool.add_serialized_file(descriptor_data)
19
+ rescue TypeError
20
+ # Compatibility code: will be removed in the next major version.
21
+ require 'google/protobuf/descriptor_pb'
22
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
23
+ parsed.clear_dependency
24
+ serialized = parsed.class.encode(parsed)
25
+ file = pool.add_serialized_file(serialized)
26
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
27
+ imports = [
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
38
+
39
+ module Google
40
+ module Shopping
41
+ module Merchant
42
+ module IssueResolution
43
+ module V1
44
+ RenderAccountIssuesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.issueresolution.v1.RenderAccountIssuesResponse").msgclass
45
+ RenderAccountIssuesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.issueresolution.v1.RenderAccountIssuesRequest").msgclass
46
+ RenderIssuesRequestPayload = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.issueresolution.v1.RenderIssuesRequestPayload").msgclass
47
+ RenderProductIssuesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.issueresolution.v1.RenderProductIssuesResponse").msgclass
48
+ RenderProductIssuesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.issueresolution.v1.RenderProductIssuesRequest").msgclass
49
+ RenderedIssue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.issueresolution.v1.RenderedIssue").msgclass
50
+ Impact = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.issueresolution.v1.Impact").msgclass
51
+ Breakdown = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.issueresolution.v1.Breakdown").msgclass
52
+ Breakdown::Region = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.issueresolution.v1.Breakdown.Region").msgclass
53
+ Action = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.issueresolution.v1.Action").msgclass
54
+ Action::Reason = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.issueresolution.v1.Action.Reason").msgclass
55
+ BuiltInSimpleAction = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.issueresolution.v1.BuiltInSimpleAction").msgclass
56
+ BuiltInSimpleAction::AdditionalContent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.issueresolution.v1.BuiltInSimpleAction.AdditionalContent").msgclass
57
+ BuiltInSimpleAction::BuiltInSimpleActionType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.issueresolution.v1.BuiltInSimpleAction.BuiltInSimpleActionType").enummodule
58
+ BuiltInUserInputAction = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.issueresolution.v1.BuiltInUserInputAction").msgclass
59
+ ActionFlow = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.issueresolution.v1.ActionFlow").msgclass
60
+ InputField = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.issueresolution.v1.InputField").msgclass
61
+ InputField::TextInput = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.issueresolution.v1.InputField.TextInput").msgclass
62
+ InputField::TextInput::TextInputType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.issueresolution.v1.InputField.TextInput.TextInputType").enummodule
63
+ InputField::ChoiceInput = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.issueresolution.v1.InputField.ChoiceInput").msgclass
64
+ InputField::ChoiceInput::ChoiceInputOption = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.issueresolution.v1.InputField.ChoiceInput.ChoiceInputOption").msgclass
65
+ InputField::CheckboxInput = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.issueresolution.v1.InputField.CheckboxInput").msgclass
66
+ TextWithTooltip = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.issueresolution.v1.TextWithTooltip").msgclass
67
+ TextWithTooltip::TooltipIconStyle = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.issueresolution.v1.TextWithTooltip.TooltipIconStyle").enummodule
68
+ Callout = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.issueresolution.v1.Callout").msgclass
69
+ Callout::CalloutStyleHint = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.issueresolution.v1.Callout.CalloutStyleHint").enummodule
70
+ ExternalAction = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.issueresolution.v1.ExternalAction").msgclass
71
+ ExternalAction::ExternalActionType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.issueresolution.v1.ExternalAction.ExternalActionType").enummodule
72
+ TriggerActionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.issueresolution.v1.TriggerActionRequest").msgclass
73
+ TriggerActionPayload = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.issueresolution.v1.TriggerActionPayload").msgclass
74
+ TriggerActionResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.issueresolution.v1.TriggerActionResponse").msgclass
75
+ ActionInput = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.issueresolution.v1.ActionInput").msgclass
76
+ InputValue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.issueresolution.v1.InputValue").msgclass
77
+ InputValue::TextInputValue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.issueresolution.v1.InputValue.TextInputValue").msgclass
78
+ InputValue::ChoiceInputValue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.issueresolution.v1.InputValue.ChoiceInputValue").msgclass
79
+ InputValue::CheckboxInputValue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.issueresolution.v1.InputValue.CheckboxInputValue").msgclass
80
+ Severity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.issueresolution.v1.Severity").enummodule
81
+ ContentOption = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.issueresolution.v1.ContentOption").enummodule
82
+ UserInputActionRenderingOption = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.issueresolution.v1.UserInputActionRenderingOption").enummodule
83
+ end
84
+ end
85
+ end
86
+ end
87
+ end
@@ -0,0 +1,66 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: google/shopping/merchant/issueresolution/v1/issueresolution.proto for package 'Google.Shopping.Merchant.IssueResolution.V1'
3
+ # Original file comments:
4
+ # Copyright 2025 Google LLC
5
+ #
6
+ # Licensed under the Apache License, Version 2.0 (the "License");
7
+ # you may not use this file except in compliance with the License.
8
+ # You may obtain a copy of the License at
9
+ #
10
+ # http://www.apache.org/licenses/LICENSE-2.0
11
+ #
12
+ # Unless required by applicable law or agreed to in writing, software
13
+ # distributed under the License is distributed on an "AS IS" BASIS,
14
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ # See the License for the specific language governing permissions and
16
+ # limitations under the License.
17
+ #
18
+
19
+ require 'grpc'
20
+ require 'google/shopping/merchant/issueresolution/v1/issueresolution_pb'
21
+
22
+ module Google
23
+ module Shopping
24
+ module Merchant
25
+ module IssueResolution
26
+ module V1
27
+ module IssueResolutionService
28
+ # Service to provide an issue resolution content for account issues and product
29
+ # issues.
30
+ class Service
31
+
32
+ include ::GRPC::GenericService
33
+
34
+ self.marshal_class_method = :encode
35
+ self.unmarshal_class_method = :decode
36
+ self.service_name = 'google.shopping.merchant.issueresolution.v1.IssueResolutionService'
37
+
38
+ # Provide a list of business's account issues with an issue resolution
39
+ # content and available actions. This content and actions are meant to be
40
+ # rendered and shown in third-party applications.
41
+ rpc :RenderAccountIssues, ::Google::Shopping::Merchant::IssueResolution::V1::RenderAccountIssuesRequest, ::Google::Shopping::Merchant::IssueResolution::V1::RenderAccountIssuesResponse
42
+ # Provide a list of issues for business's product with an issue resolution
43
+ # content and available actions. This content and actions are meant to be
44
+ # rendered and shown in third-party applications.
45
+ rpc :RenderProductIssues, ::Google::Shopping::Merchant::IssueResolution::V1::RenderProductIssuesRequest, ::Google::Shopping::Merchant::IssueResolution::V1::RenderProductIssuesResponse
46
+ # Start an action. The action can be requested by a business in
47
+ # third-party application. Before the business can request the action, the
48
+ # third-party application needs to show them action specific content and
49
+ # display a user input form.
50
+ #
51
+ # The action can be successfully started only once all `required` inputs are
52
+ # provided. If any `required` input is missing, or invalid value was
53
+ # provided, the service will return 400 error. Validation errors will contain
54
+ # [Ids][google.shopping.merchant.issueresolution.v1.InputField.id] for all
55
+ # problematic field together with translated, human readable error messages
56
+ # that can be shown to the user.
57
+ rpc :TriggerAction, ::Google::Shopping::Merchant::IssueResolution::V1::TriggerActionRequest, ::Google::Shopping::Merchant::IssueResolution::V1::TriggerActionResponse
58
+ end
59
+
60
+ Stub = Service.rpc_stub_class
61
+ end
62
+ end
63
+ end
64
+ end
65
+ end
66
+ end
@@ -0,0 +1,21 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2025 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+ # This gem does not autoload during Bundler.require. To load this gem,
20
+ # issue explicit require statements for the packages desired, e.g.:
21
+ # require "google/shopping/merchant/issue_resolution/v1"
@@ -0,0 +1,4 @@
1
+ # Merchant V1 Protocol Buffer Documentation
2
+
3
+ These files are for the YARD documentation of the generated protobuf files.
4
+ They are not intended to be required or loaded at runtime.