Class BuyongoogleprogramsResource.PauseRequest
Pauses the BoG program in your Merchant Center account. This method is only available to selected merchants.
Inheritance
BuyongoogleprogramsResource.PauseRequest
Inherited Members
Namespace: Google.Apis.ShoppingContent.v2_1
Assembly: Google.Apis.ShoppingContent.v2_1.dll
Syntax
public class BuyongoogleprogramsResource.PauseRequest : ShoppingContentBaseServiceRequest<string>, IClientServiceRequest<string>, IClientServiceRequest
Constructors
PauseRequest(IClientService, PauseBuyOnGoogleProgramRequest, long, string)
Constructs a new Pause request.
Declaration
public PauseRequest(IClientService service, PauseBuyOnGoogleProgramRequest body, long merchantId, string regionCode)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
PauseBuyOnGoogleProgramRequest | body | |
long | merchantId | |
string | regionCode |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MerchantId
Required. The ID of the 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
RegionCode
Required. The program region code ISO 3166-1 alpha-2. Currently only US is available.
Declaration
[RequestParameter("regionCode", RequestParameterType.Path)]
public virtual string RegionCode { 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 Pause parameter list.
Declaration
protected override void InitParameters()