Class IssueResolutionServiceClientImpl
IssueResolutionService client wrapper implementation, for convenient use.
Inherited Members
Namespace: Google.Shopping.Merchant.IssueResolution.V1
Assembly: Google.Shopping.Merchant.IssueResolution.V1.dll
Syntax
public sealed class IssueResolutionServiceClientImpl : IssueResolutionServiceClient
Remarks
Service to provide an issue resolution content for account issues and product issues.
Constructors
IssueResolutionServiceClientImpl(IssueResolutionServiceClient, IssueResolutionServiceSettings, ILogger)
Constructs a client wrapper for the IssueResolutionService service, with the specified gRPC client and settings.
Declaration
public IssueResolutionServiceClientImpl(IssueResolutionService.IssueResolutionServiceClient grpcClient, IssueResolutionServiceSettings settings, ILogger logger)
Parameters
Type | Name | Description |
---|---|---|
IssueResolutionService.IssueResolutionServiceClient | grpcClient | The underlying gRPC client. |
IssueResolutionServiceSettings | settings | The base IssueResolutionServiceSettings used within this client. |
ILogger | logger | Optional ILogger to use within this client. |
Properties
GrpcClient
The underlying gRPC IssueResolutionService client
Declaration
public override IssueResolutionService.IssueResolutionServiceClient GrpcClient { get; }
Property Value
Type | Description |
---|---|
IssueResolutionService.IssueResolutionServiceClient |
Overrides
Methods
RenderAccountIssues(RenderAccountIssuesRequest, CallSettings)
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 override RenderAccountIssuesResponse RenderAccountIssues(RenderAccountIssuesRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
RenderAccountIssuesRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
RenderAccountIssuesResponse | The RPC response. |
Overrides
RenderAccountIssuesAsync(RenderAccountIssuesRequest, CallSettings)
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 override Task<RenderAccountIssuesResponse> RenderAccountIssuesAsync(RenderAccountIssuesRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
RenderAccountIssuesRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<RenderAccountIssuesResponse> | A Task containing the RPC response. |
Overrides
RenderProductIssues(RenderProductIssuesRequest, CallSettings)
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 override RenderProductIssuesResponse RenderProductIssues(RenderProductIssuesRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
RenderProductIssuesRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
RenderProductIssuesResponse | The RPC response. |
Overrides
RenderProductIssuesAsync(RenderProductIssuesRequest, CallSettings)
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 override Task<RenderProductIssuesResponse> RenderProductIssuesAsync(RenderProductIssuesRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
RenderProductIssuesRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<RenderProductIssuesResponse> | A Task containing the RPC response. |
Overrides
TriggerAction(TriggerActionRequest, CallSettings)
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 override TriggerActionResponse TriggerAction(TriggerActionRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
TriggerActionRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
TriggerActionResponse | The RPC response. |
Overrides
TriggerActionAsync(TriggerActionRequest, CallSettings)
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 override Task<TriggerActionResponse> TriggerActionAsync(TriggerActionRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
TriggerActionRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<TriggerActionResponse> | A Task containing the RPC response. |