Tag Manager API . accounts . containers . version_headers

Instance Methods

close()

Close httplib2 connections.

latest(parent, x__xgafv=None)

Gets the latest container version header

list(parent, includeDeleted=None, pageToken=None, x__xgafv=None)

Lists all Container Versions of a GTM Container.

list_next()

Retrieves the next page of results.

Method Details

close()
Close httplib2 connections.
latest(parent, x__xgafv=None)
Gets the latest container version header

Args:
  parent: string, GTM Container's API relative path. Example: accounts/{account_id}/containers/{container_id} (required)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Represents a Google Tag Manager Container Version Header.
  "accountId": "A String", # GTM Account ID.
  "containerId": "A String", # GTM Container ID.
  "containerVersionId": "A String", # The Container Version ID uniquely identifies the GTM Container Version.
  "deleted": True or False, # A value of true indicates this container version has been deleted.
  "name": "A String", # Container version display name.
  "numClients": "A String", # Number of clients in the container version.
  "numCustomTemplates": "A String", # Number of custom templates in the container version.
  "numGtagConfigs": "A String", # Number of Google tag configs in the container version.
  "numMacros": "A String", # Number of macros in the container version.
  "numRules": "A String", # Number of rules in the container version.
  "numTags": "A String", # Number of tags in the container version.
  "numTransformations": "A String", # Number of transformations in the container version.
  "numTriggers": "A String", # Number of triggers in the container version.
  "numVariables": "A String", # Number of variables in the container version.
  "numZones": "A String", # Number of zones in the container version.
  "path": "A String", # GTM Container Version's API relative path.
}
list(parent, includeDeleted=None, pageToken=None, x__xgafv=None)
Lists all Container Versions of a GTM Container.

Args:
  parent: string, GTM Container's API relative path. Example: accounts/{account_id}/containers/{container_id} (required)
  includeDeleted: boolean, Also retrieve deleted (archived) versions when true.
  pageToken: string, Continuation token for fetching the next page of results.
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # List container versions response.
  "containerVersionHeader": [ # All container version headers of a GTM Container.
    { # Represents a Google Tag Manager Container Version Header.
      "accountId": "A String", # GTM Account ID.
      "containerId": "A String", # GTM Container ID.
      "containerVersionId": "A String", # The Container Version ID uniquely identifies the GTM Container Version.
      "deleted": True or False, # A value of true indicates this container version has been deleted.
      "name": "A String", # Container version display name.
      "numClients": "A String", # Number of clients in the container version.
      "numCustomTemplates": "A String", # Number of custom templates in the container version.
      "numGtagConfigs": "A String", # Number of Google tag configs in the container version.
      "numMacros": "A String", # Number of macros in the container version.
      "numRules": "A String", # Number of rules in the container version.
      "numTags": "A String", # Number of tags in the container version.
      "numTransformations": "A String", # Number of transformations in the container version.
      "numTriggers": "A String", # Number of triggers in the container version.
      "numVariables": "A String", # Number of variables in the container version.
      "numZones": "A String", # Number of zones in the container version.
      "path": "A String", # GTM Container Version's API relative path.
    },
  ],
  "nextPageToken": "A String", # Continuation token for fetching the next page of results.
}
list_next()
Retrieves the next page of results.

        Args:
          previous_request: The request for the previous page. (required)
          previous_response: The response from the request for the previous page. (required)

        Returns:
          A request object that you can call 'execute()' on to request the next
          page. Returns None if there are no more items in the collection.