REST Resource: accounts.containers.versions

Resource: ContainerVersion

Represents a Google Tag Manager Container Version.

JSON representation
{
  "accountId": string,
  "containerId": string,
  "containerVersionId": string,
  "name": string,
  "deleted": boolean,
  "notes": string,
  "container": {
    object (Container)
  },
  "tag": [
    {
      object (Tag)
    }
  ],
  "trigger": [
    {
      object (Trigger)
    }
  ],
  "variable": [
    {
      object (Variable)
    }
  ],
  "folder": [
    {
      object (Folder)
    }
  ],
  "fingerprint": string
}
Fields
accountId

string

GTM Account ID.

containerId

string

GTM Container ID.

containerVersionId

string

The Container Version ID uniquely identifies the GTM Container Version.

name

string

Container version display name.

deleted

boolean

A value of true indicates this container version has been deleted.

notes

string

User notes on how to apply this container version in the container.

container

object (Container)

The container that this version was taken from.

tag[]

object (Tag)

The tags in the container that this version was taken from.

trigger[]

object (Trigger)

The triggers in the container that this version was taken from.

variable[]

object (Variable)

The variables in the container that this version was taken from.

folder[]

object (Folder)

The folders in the container that this version was taken from.

fingerprint

string

The fingerprint of the GTM Container Version as computed at storage time. This value is recomputed whenever the container version is modified.

Methods

create

Creates a Container Version.

delete

Deletes a Container Version.

get

Gets a Container Version.

list

Lists all Container Versions of a GTM Container.

publish

Publishes a Container Version.

restore

Restores a Container Version.

undelete

Undeletes a Container Version.

update

Updates a Container Version.