Class AccountsCustomBatchRequestEntry
A batch entry encoding a single non-batch accounts request.
Implements
Inherited Members
Namespace: Google.Apis.ShoppingContent.v2_1.Data
Assembly: Google.Apis.ShoppingContent.v2_1.dll
Syntax
public class AccountsCustomBatchRequestEntry : IDirectResponseSchema
Properties
Account
The account to create or update. Only defined if the method is insert
or update
.
Declaration
[JsonProperty("account")]
public virtual Account Account { get; set; }
Property Value
Type | Description |
---|---|
Account |
AccountId
The ID of the targeted account. Only defined if the method is not insert
.
Declaration
[JsonProperty("accountId")]
public virtual ulong? AccountId { get; set; }
Property Value
Type | Description |
---|---|
ulong? |
BatchId
An entry ID, unique within the batch request.
Declaration
[JsonProperty("batchId")]
public virtual long? BatchId { get; set; }
Property Value
Type | Description |
---|---|
long? |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Force
Whether the account should be deleted if the account has offers. Only applicable if the method is delete
.
Declaration
[JsonProperty("force")]
public virtual bool? Force { get; set; }
Property Value
Type | Description |
---|---|
bool? |
LabelIds
Label IDs for the 'updatelabels' request.
Declaration
[JsonProperty("labelIds")]
public virtual IList<ulong?> LabelIds { get; set; }
Property Value
Type | Description |
---|---|
IList<ulong?> |
LinkRequest
Details about the link
request.
Declaration
[JsonProperty("linkRequest")]
public virtual AccountsCustomBatchRequestEntryLinkRequest LinkRequest { get; set; }
Property Value
Type | Description |
---|---|
AccountsCustomBatchRequestEntryLinkRequest |
MerchantId
The ID of the managing account.
Declaration
[JsonProperty("merchantId")]
public virtual ulong? MerchantId { get; set; }
Property Value
Type | Description |
---|---|
ulong? |
Method
The method of the batch entry. Acceptable values are: - "claimWebsite
" - "delete
" - "get
" - "insert
"
- "
link
" - "update
"
Declaration
[JsonProperty("method")]
public virtual string Method { get; set; }
Property Value
Type | Description |
---|---|
string |
Overwrite
Only applicable if the method is claimwebsite
. Indicates whether or not to take the claim from another
account in case there is a conflict.
Declaration
[JsonProperty("overwrite")]
public virtual bool? Overwrite { get; set; }
Property Value
Type | Description |
---|---|
bool? |
View
Controls which fields are visible. Only applicable if the method is 'get'.
Declaration
[JsonProperty("view")]
public virtual string View { get; set; }
Property Value
Type | Description |
---|---|
string |