Struct google_content2::api::AccountsCustomBatchRequestEntry [−][src]
pub struct AccountsCustomBatchRequestEntry {
pub account: Option<Account>,
pub account_id: Option<String>,
pub batch_id: Option<u32>,
pub force: Option<bool>,
pub label_ids: Option<Vec<String>>,
pub link_request: Option<AccountsCustomBatchRequestEntryLinkRequest>,
pub merchant_id: Option<String>,
pub method: Option<String>,
pub overwrite: Option<bool>,
}Expand description
A batch entry encoding a single non-batch accounts request.
This type is not used in any activity, and only used as part of another schema.
Fields
account: Option<Account>The account to create or update. Only defined if the method is insert or update.
account_id: Option<String>The ID of the targeted account. Only defined if the method is not insert.
batch_id: Option<u32>An entry ID, unique within the batch request.
force: Option<bool>Whether the account should be deleted if the account has offers. Only applicable if the method is delete.
label_ids: Option<Vec<String>>Label IDs for the ‘updatelabels’ request.
link_request: Option<AccountsCustomBatchRequestEntryLinkRequest>Details about the link request.
merchant_id: Option<String>The ID of the managing account.
method: Option<String>The method of the batch entry. Acceptable values are: - “claimWebsite” - “delete” - “get” - “insert” - “link” - “update”
overwrite: Option<bool>Only applicable if the method is claimwebsite. Indicates whether or not to take the claim from another account in case there is a conflict.
Trait Implementations
Returns the “default value” for a type. Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl Send for AccountsCustomBatchRequestEntry
impl Sync for AccountsCustomBatchRequestEntry
impl Unpin for AccountsCustomBatchRequestEntry
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more