Class IssueresolutionResource.TriggeractionRequest
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 for all problematic field together with translated, human readable error messages
that can be shown to the user.
Inheritance
Inherited Members
Namespace: Google.Apis.Merchant.issueresolution_v1beta
Assembly: Google.Apis.Merchant.issueresolution_v1beta.dll
Syntax
public class IssueresolutionResource.TriggeractionRequest : MerchantBaseServiceRequest<TriggerActionResponse>, IClientServiceRequest<TriggerActionResponse>, IClientServiceRequest
Constructors
TriggeractionRequest(IClientService, TriggerActionPayload, string)
Constructs a new Triggeraction request.
Declaration
public TriggeractionRequest(IClientService service, TriggerActionPayload body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
TriggerActionPayload | body | |
string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
LanguageCode
Optional. Language code IETF BCP 47 syntax used to localize the
response. If not set, the result will be in default language en-US
.
Declaration
[RequestParameter("languageCode", RequestParameterType.Query)]
public virtual string LanguageCode { get; set; }
Property Value
Type | Description |
---|---|
string |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Name
Required. The business's account that is triggering the action. Format: accounts/{account}
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Triggeraction parameter list.
Declaration
protected override void InitParameters()