GoogleApi.Content.V21.Model.AccountsCustomBatchRequestEntry (google_api_content v0.43.0) View Source

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

Attributes

  • account (type: GoogleApi.Content.V21.Model.Account.t, default: nil) - The account to create or update. Only defined if the method is insert or update.

  • accountId (type: String.t, default: nil) - The ID of the targeted account. Only defined if the method is not insert.

  • batchId (type: integer(), default: nil) - An entry ID, unique within the batch request.

  • force (type: boolean(), default: nil) - Whether the account should be deleted if the account has offers. Only applicable if the method is delete.

  • labelIds (type: list(String.t), default: nil) - Label IDs for the 'updatelabels' request.

  • linkRequest (type: GoogleApi.Content.V21.Model.AccountsCustomBatchRequestEntryLinkRequest.t, default: nil) - Details about the link request.

  • merchantId (type: String.t, default: nil) - The ID of the managing account.

  • method (type: String.t, default: nil) - The method of the batch entry.

    Acceptable values are:

    • "claimWebsite"
    • "delete"
    • "get"
    • "insert"
    • "link"
    • "update"
  • overwrite (type: boolean(), default: nil) - Only applicable if the method is claimwebsite. Indicates whether or not to take the claim from another account in case there is a conflict.

  • view (type: String.t, default: nil) - Controls which fields are visible. Only applicable if the method is 'get'.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Content.V21.Model.AccountsCustomBatchRequestEntry{
  account: GoogleApi.Content.V21.Model.Account.t(),
  accountId: String.t(),
  batchId: integer(),
  force: boolean(),
  labelIds: [String.t()],
  linkRequest:
    GoogleApi.Content.V21.Model.AccountsCustomBatchRequestEntryLinkRequest.t(),
  merchantId: String.t(),
  method: String.t(),
  overwrite: boolean(),
  view: String.t()
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.