Class BuyongoogleprogramsResource.PatchRequest
Updates the status of the BoG program for your Merchant Center account.
Inheritance
BuyongoogleprogramsResource.PatchRequest
Inherited Members
Namespace: Google.Apis.ShoppingContent.v2_1
Assembly: Google.Apis.ShoppingContent.v2_1.dll
Syntax
public class BuyongoogleprogramsResource.PatchRequest : ShoppingContentBaseServiceRequest<BuyOnGoogleProgramStatus>, IClientServiceRequest<BuyOnGoogleProgramStatus>, IClientServiceRequest
Constructors
PatchRequest(IClientService, BuyOnGoogleProgramStatus, long, string)
Constructs a new Patch request.
Declaration
public PatchRequest(IClientService service, BuyOnGoogleProgramStatus body, long merchantId, string regionCode)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| BuyOnGoogleProgramStatus | 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
UpdateMask
The list of fields to update. If the update mask is not provided, then all the fields set in buyOnGoogleProgramStatus will be updated. Clearing fields is only possible if update mask is provided.
Declaration
[RequestParameter("updateMask", RequestParameterType.Query)]
public virtual object UpdateMask { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| object |
Overrides
InitParameters()
Initializes Patch parameter list.
Declaration
protected override void InitParameters()