Class IssueResolutionService.IssueResolutionServiceBase
Base class for server-side implementations of IssueResolutionService
Namespace: Google.Shopping.Merchant.IssueResolution.V1
Assembly: Google.Shopping.Merchant.IssueResolution.V1.dll
Syntax
[BindServiceMethod(typeof(IssueResolutionService), "BindService")]
public abstract class IssueResolutionService.IssueResolutionServiceBase
Methods
RenderAccountIssues(RenderAccountIssuesRequest, ServerCallContext)
Provide a list of business's account issues with an issue resolution content and available actions. This content and actions are meant to be rendered and shown in third-party applications.
Declaration
public virtual Task<RenderAccountIssuesResponse> RenderAccountIssues(RenderAccountIssuesRequest request, ServerCallContext context)
Parameters
Type | Name | Description |
---|---|---|
RenderAccountIssuesRequest | request | The request received from the client. |
ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
Type | Description |
---|---|
Task<RenderAccountIssuesResponse> | The response to send back to the client (wrapped by a task). |
RenderProductIssues(RenderProductIssuesRequest, ServerCallContext)
Provide a list of issues for business's product with an issue resolution content and available actions. This content and actions are meant to be rendered and shown in third-party applications.
Declaration
public virtual Task<RenderProductIssuesResponse> RenderProductIssues(RenderProductIssuesRequest request, ServerCallContext context)
Parameters
Type | Name | Description |
---|---|---|
RenderProductIssuesRequest | request | The request received from the client. |
ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
Type | Description |
---|---|
Task<RenderProductIssuesResponse> | The response to send back to the client (wrapped by a task). |
TriggerAction(TriggerActionRequest, ServerCallContext)
Start an action. The action can be requested by a business in third-party application. Before the business can request the action, the third-party application needs to show them action specific content and display a user input form.
The action can be successfully started only once all required
inputs are
provided. If any required
input is missing, or invalid value was
provided, the service will return 400 error. Validation errors will contain
[Ids][google.shopping.merchant.issueresolution.v1.InputField.id] for all
problematic field together with translated, human readable error messages
that can be shown to the user.
Declaration
public virtual Task<TriggerActionResponse> TriggerAction(TriggerActionRequest request, ServerCallContext context)
Parameters
Type | Name | Description |
---|---|---|
TriggerActionRequest | request | The request received from the client. |
ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
Type | Description |
---|---|
Task<TriggerActionResponse> | The response to send back to the client (wrapped by a task). |