google_api_content v0.2.0 GoogleApi.Content.V2.Model.AccountsCustomBatchRequestEntry View Source

A batch entry encoding a single non-batch accounts request.

Attributes

  • account (Account): The account to create or update. Only defined if the method is insert or update. Defaults to: null.
  • accountId (String.t): The ID of the targeted account. Only defined if the method is not insert. Defaults to: null.
  • batchId (integer()): An entry ID, unique within the batch request. Defaults to: null.
  • force (boolean()): Whether the account should be deleted if the account has offers. Only applicable if the method is delete. Defaults to: null.
  • linkRequest (AccountsCustomBatchRequestEntryLinkRequest): Details about the link request. Defaults to: null.
  • merchantId (String.t): The ID of the managing account. Defaults to: null.
  • method (String.t): The method of the batch entry. Defaults to: null.
  • overwrite (boolean()): Only applicable if the method is claimwebsite. Indicates whether or not to take the claim from another account in case there is a conflict. Defaults to: null.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields

Link to this section Types

Link to this type t() View Source
t() :: %GoogleApi.Content.V2.Model.AccountsCustomBatchRequestEntry{
  account: GoogleApi.Content.V2.Model.Account.t(),
  accountId: any(),
  batchId: any(),
  force: any(),
  linkRequest:
    GoogleApi.Content.V2.Model.AccountsCustomBatchRequestEntryLinkRequest.t(),
  merchantId: any(),
  method: any(),
  overwrite: any()
}

Link to this section Functions

Link to this function decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.