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

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'.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

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

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.