Class AccountsCustomBatchRequestEntry
A batch entry encoding a single non-batch accounts request.
Inheritance
System.Object
AccountsCustomBatchRequestEntry
Implements
Google.Apis.Requests.IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.ShoppingContent.v2.Data
Assembly: Google.Apis.ShoppingContent.v2.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 |
---|---|
System.Nullable<System.UInt64> |
BatchId
An entry ID, unique within the batch request.
Declaration
[JsonProperty("batchId")]
public virtual long? BatchId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
System.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 |
---|---|
System.Nullable<System.Boolean> |
LabelIds
Label IDs for the 'updatelabels' request.
Declaration
[JsonProperty("labelIds")]
public virtual IList<ulong?> LabelIds { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<System.Nullable<System.UInt64>> |
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 |
---|---|
System.Nullable<System.UInt64> |
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 |
---|---|
System.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 |
---|---|
System.Nullable<System.Boolean> |
Implements
Google.Apis.Requests.IDirectResponseSchema