Class: Google::Shopping::Merchant::IssueResolution::V1beta::BuiltInSimpleAction
- Inherits:
-
Object
- Object
- Google::Shopping::Merchant::IssueResolution::V1beta::BuiltInSimpleAction
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/shopping/merchant/issueresolution/v1beta/issueresolution.rb
Overview
Action that is implemented and performed in (your) third-party application. Represents various functionality that is expected to be available to business and will help them with resolving the issue. The application should point the business to the place, where they can access the corresponding functionality. If the functionality is not supported, it is recommended to explain the situation to the business and provide them with instructions how to solve the issue.
Defined Under Namespace
Modules: BuiltInSimpleActionType Classes: AdditionalContent
Instance Attribute Summary collapse
-
#additional_content ⇒ ::Google::Shopping::Merchant::IssueResolution::V1beta::BuiltInSimpleAction::AdditionalContent
Long text from an external source that should be available to the business.
-
#attribute_code ⇒ ::String
The attribute that needs to be updated.
-
#type ⇒ ::Google::Shopping::Merchant::IssueResolution::V1beta::BuiltInSimpleAction::BuiltInSimpleActionType
The type of action that represents a functionality that is expected to be available in third-party application.
Instance Attribute Details
#additional_content ⇒ ::Google::Shopping::Merchant::IssueResolution::V1beta::BuiltInSimpleAction::AdditionalContent
Returns Long text from an external source that should be available to the business.
Present when the
type
is SHOW_ADDITIONAL_CONTENT.
420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 |
# File 'proto_docs/google/shopping/merchant/issueresolution/v1beta/issueresolution.rb', line 420 class BuiltInSimpleAction include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Long text from external source. # @!attribute [rw] title # @return [::String] # Title of the additional content; # @!attribute [rw] paragraphs # @return [::Array<::String>] # Long text organized into paragraphs. class AdditionalContent include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Enum specifying the type of action in third-party application. module BuiltInSimpleActionType # Default value. Will never be provided by the API. BUILT_IN_SIMPLE_ACTION_TYPE_UNSPECIFIED = 0 # Redirect the business to the part of your application where they can # verify their phone. VERIFY_PHONE = 1 # Redirect the business to the part of your application where they can # claim their website. CLAIM_WEBSITE = 2 # Redirect the business to the part of your application where they can add # products. ADD_PRODUCTS = 3 # Open a form where the business can edit their contact information. ADD_CONTACT_INFO = 4 # Redirect the business to the part of your application where they can link # ads account. LINK_ADS_ACCOUNT = 5 # Open a form where the business can add their business registration # number. ADD_BUSINESS_REGISTRATION_NUMBER = 6 # Open a form where the business can edit an attribute. The attribute that # needs to be updated is specified in # {::Google::Shopping::Merchant::IssueResolution::V1beta::BuiltInSimpleAction#attribute_code attribute_code} # field of the action. EDIT_ITEM_ATTRIBUTE = 7 # Redirect the business from the product issues to the diagnostic page with # their account issues in your application. # # This action will be returned only for product issues that are caused by # an account issue and thus the business should resolve the problem on the # account level. FIX_ACCOUNT_ISSUE = 8 # Show [additional # content][google.shopping.merchant.issueresolution.v1beta.BuiltInSimpleAction.additional_content] # to the business. # # This action will be used for example to deliver a justification from # national authority. SHOW_ADDITIONAL_CONTENT = 9 end end |
#attribute_code ⇒ ::String
420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 |
# File 'proto_docs/google/shopping/merchant/issueresolution/v1beta/issueresolution.rb', line 420 class BuiltInSimpleAction include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Long text from external source. # @!attribute [rw] title # @return [::String] # Title of the additional content; # @!attribute [rw] paragraphs # @return [::Array<::String>] # Long text organized into paragraphs. class AdditionalContent include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Enum specifying the type of action in third-party application. module BuiltInSimpleActionType # Default value. Will never be provided by the API. BUILT_IN_SIMPLE_ACTION_TYPE_UNSPECIFIED = 0 # Redirect the business to the part of your application where they can # verify their phone. VERIFY_PHONE = 1 # Redirect the business to the part of your application where they can # claim their website. CLAIM_WEBSITE = 2 # Redirect the business to the part of your application where they can add # products. ADD_PRODUCTS = 3 # Open a form where the business can edit their contact information. ADD_CONTACT_INFO = 4 # Redirect the business to the part of your application where they can link # ads account. LINK_ADS_ACCOUNT = 5 # Open a form where the business can add their business registration # number. ADD_BUSINESS_REGISTRATION_NUMBER = 6 # Open a form where the business can edit an attribute. The attribute that # needs to be updated is specified in # {::Google::Shopping::Merchant::IssueResolution::V1beta::BuiltInSimpleAction#attribute_code attribute_code} # field of the action. EDIT_ITEM_ATTRIBUTE = 7 # Redirect the business from the product issues to the diagnostic page with # their account issues in your application. # # This action will be returned only for product issues that are caused by # an account issue and thus the business should resolve the problem on the # account level. FIX_ACCOUNT_ISSUE = 8 # Show [additional # content][google.shopping.merchant.issueresolution.v1beta.BuiltInSimpleAction.additional_content] # to the business. # # This action will be used for example to deliver a justification from # national authority. SHOW_ADDITIONAL_CONTENT = 9 end end |
#type ⇒ ::Google::Shopping::Merchant::IssueResolution::V1beta::BuiltInSimpleAction::BuiltInSimpleActionType
Returns The type of action that represents a functionality that is expected to be available in third-party application.
420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 |
# File 'proto_docs/google/shopping/merchant/issueresolution/v1beta/issueresolution.rb', line 420 class BuiltInSimpleAction include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Long text from external source. # @!attribute [rw] title # @return [::String] # Title of the additional content; # @!attribute [rw] paragraphs # @return [::Array<::String>] # Long text organized into paragraphs. class AdditionalContent include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Enum specifying the type of action in third-party application. module BuiltInSimpleActionType # Default value. Will never be provided by the API. BUILT_IN_SIMPLE_ACTION_TYPE_UNSPECIFIED = 0 # Redirect the business to the part of your application where they can # verify their phone. VERIFY_PHONE = 1 # Redirect the business to the part of your application where they can # claim their website. CLAIM_WEBSITE = 2 # Redirect the business to the part of your application where they can add # products. ADD_PRODUCTS = 3 # Open a form where the business can edit their contact information. ADD_CONTACT_INFO = 4 # Redirect the business to the part of your application where they can link # ads account. LINK_ADS_ACCOUNT = 5 # Open a form where the business can add their business registration # number. ADD_BUSINESS_REGISTRATION_NUMBER = 6 # Open a form where the business can edit an attribute. The attribute that # needs to be updated is specified in # {::Google::Shopping::Merchant::IssueResolution::V1beta::BuiltInSimpleAction#attribute_code attribute_code} # field of the action. EDIT_ITEM_ATTRIBUTE = 7 # Redirect the business from the product issues to the diagnostic page with # their account issues in your application. # # This action will be returned only for product issues that are caused by # an account issue and thus the business should resolve the problem on the # account level. FIX_ACCOUNT_ISSUE = 8 # Show [additional # content][google.shopping.merchant.issueresolution.v1beta.BuiltInSimpleAction.additional_content] # to the business. # # This action will be used for example to deliver a justification from # national authority. SHOW_ADDITIONAL_CONTENT = 9 end end |