Class BuyongoogleprogramsResource.ActivateRequest
Reactivates the BoG program in your Merchant Center account. Moves the program to the active state when allowed, for example, when paused. This method is only available to selected merchants.
Inheritance
BuyongoogleprogramsResource.ActivateRequest
Inherited Members
Namespace: Google.Apis.ShoppingContent.v2_1
Assembly: Google.Apis.ShoppingContent.v2_1.dll
Syntax
public class BuyongoogleprogramsResource.ActivateRequest : ShoppingContentBaseServiceRequest<string>, IClientServiceRequest<string>, IClientServiceRequest
Constructors
ActivateRequest(IClientService, ActivateBuyOnGoogleProgramRequest, long, string)
Constructs a new Activate request.
Declaration
public ActivateRequest(IClientService service, ActivateBuyOnGoogleProgramRequest body, long merchantId, string regionCode)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| ActivateBuyOnGoogleProgramRequest | 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 Activate parameter list.
Declaration
protected override void InitParameters()