Show / Hide Table of Contents

Class MerchantsupportResource.TriggeractionRequest

Start an action. The action can be requested by merchants in third-party application. Before merchants 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
object
ClientServiceRequest
ClientServiceRequest<TriggerActionResponse>
ShoppingContentBaseServiceRequest<TriggerActionResponse>
MerchantsupportResource.TriggeractionRequest
Implements
IClientServiceRequest<TriggerActionResponse>
IClientServiceRequest
Inherited Members
ShoppingContentBaseServiceRequest<TriggerActionResponse>.Xgafv
ShoppingContentBaseServiceRequest<TriggerActionResponse>.AccessToken
ShoppingContentBaseServiceRequest<TriggerActionResponse>.Alt
ShoppingContentBaseServiceRequest<TriggerActionResponse>.Callback
ShoppingContentBaseServiceRequest<TriggerActionResponse>.Fields
ShoppingContentBaseServiceRequest<TriggerActionResponse>.Key
ShoppingContentBaseServiceRequest<TriggerActionResponse>.OauthToken
ShoppingContentBaseServiceRequest<TriggerActionResponse>.PrettyPrint
ShoppingContentBaseServiceRequest<TriggerActionResponse>.QuotaUser
ShoppingContentBaseServiceRequest<TriggerActionResponse>.UploadType
ShoppingContentBaseServiceRequest<TriggerActionResponse>.UploadProtocol
ClientServiceRequest<TriggerActionResponse>.Execute()
ClientServiceRequest<TriggerActionResponse>.ExecuteAsStream()
ClientServiceRequest<TriggerActionResponse>.ExecuteAsync()
ClientServiceRequest<TriggerActionResponse>.ExecuteAsync(CancellationToken)
ClientServiceRequest<TriggerActionResponse>.ExecuteAsStreamAsync()
ClientServiceRequest<TriggerActionResponse>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<TriggerActionResponse>.CreateRequest(bool?)
ClientServiceRequest<TriggerActionResponse>.GenerateRequestUri()
ClientServiceRequest<TriggerActionResponse>.GetDefaultETagAction(string)
ClientServiceRequest<TriggerActionResponse>.ETagAction
ClientServiceRequest<TriggerActionResponse>.ModifyRequest
ClientServiceRequest<TriggerActionResponse>.ValidateParameters
ClientServiceRequest<TriggerActionResponse>.ApiVersion
ClientServiceRequest<TriggerActionResponse>.RequestParameters
ClientServiceRequest<TriggerActionResponse>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.ShoppingContent.v2_1
Assembly: Google.Apis.ShoppingContent.v2_1.dll
Syntax
public class MerchantsupportResource.TriggeractionRequest : ShoppingContentBaseServiceRequest<TriggerActionResponse>, IClientServiceRequest<TriggerActionResponse>, IClientServiceRequest

Constructors

TriggeractionRequest(IClientService, TriggerActionPayload, long)

Constructs a new Triggeraction request.

Declaration
public TriggeractionRequest(IClientService service, TriggerActionPayload body, long merchantId)
Parameters
Type Name Description
IClientService service
TriggerActionPayload body
long merchantId

Properties

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<TriggerActionResponse>.HttpMethod

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

MerchantId

Required. The ID of the merchant's account.

Declaration
[RequestParameter("merchantId", RequestParameterType.Path)]
public virtual long MerchantId { get; }
Property Value
Type Description
long

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<TriggerActionResponse>.MethodName

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<TriggerActionResponse>.RestPath

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
object
Overrides
ClientServiceRequest<TriggerActionResponse>.GetBody()

InitParameters()

Initializes Triggeraction parameter list.

Declaration
protected override void InitParameters()
Overrides
ShoppingContentBaseServiceRequest<TriggerActionResponse>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX