Returns the environments Resource.
Returns the version_headers Resource.
Returns the versions Resource.
Returns the workspaces Resource.
Close httplib2 connections.
create(parent, body=None, x__xgafv=None)
Creates a Container.
Deletes a Container.
Gets a Container.
list(parent, pageToken=None, x__xgafv=None)
Lists all Containers that belongs to a GTM Account.
list_next(previous_request, previous_response)
Retrieves the next page of results.
update(path, body=None, fingerprint=None, x__xgafv=None)
Updates a Container.
close()
Close httplib2 connections.
create(parent, body=None, x__xgafv=None)
Creates a Container.
Args:
parent: string, GTM Account's API relative path. Example: accounts/{account_id}. (required)
body: object, The request body.
The object takes the form of:
{ # Represents a Google Tag Manager Container, which specifies the platform tags will run on, manages workspaces, and retains container versions.
"accountId": "A String", # GTM Account ID.
"containerId": "A String", # The Container ID uniquely identifies the GTM Container.
"domainName": [ # List of domain names associated with the Container. @mutable tagmanager.accounts.containers.create @mutable tagmanager.accounts.containers.update
"A String",
],
"fingerprint": "A String", # The fingerprint of the GTM Container as computed at storage time. This value is recomputed whenever the account is modified.
"name": "A String", # Container display name. @mutable tagmanager.accounts.containers.create @mutable tagmanager.accounts.containers.update
"notes": "A String", # Container Notes. @mutable tagmanager.accounts.containers.create @mutable tagmanager.accounts.containers.update
"path": "A String", # GTM Container's API relative path.
"publicId": "A String", # Container Public ID.
"tagManagerUrl": "A String", # Auto generated link to the tag manager UI
"usageContext": [ # List of Usage Contexts for the Container. Valid values include: web, android, or ios. @mutable tagmanager.accounts.containers.create @mutable tagmanager.accounts.containers.update
"A String",
],
}
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, which specifies the platform tags will run on, manages workspaces, and retains container versions.
"accountId": "A String", # GTM Account ID.
"containerId": "A String", # The Container ID uniquely identifies the GTM Container.
"domainName": [ # List of domain names associated with the Container. @mutable tagmanager.accounts.containers.create @mutable tagmanager.accounts.containers.update
"A String",
],
"fingerprint": "A String", # The fingerprint of the GTM Container as computed at storage time. This value is recomputed whenever the account is modified.
"name": "A String", # Container display name. @mutable tagmanager.accounts.containers.create @mutable tagmanager.accounts.containers.update
"notes": "A String", # Container Notes. @mutable tagmanager.accounts.containers.create @mutable tagmanager.accounts.containers.update
"path": "A String", # GTM Container's API relative path.
"publicId": "A String", # Container Public ID.
"tagManagerUrl": "A String", # Auto generated link to the tag manager UI
"usageContext": [ # List of Usage Contexts for the Container. Valid values include: web, android, or ios. @mutable tagmanager.accounts.containers.create @mutable tagmanager.accounts.containers.update
"A String",
],
}
delete(path, x__xgafv=None)
Deletes a Container.
Args:
path: 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
get(path, x__xgafv=None)
Gets a Container.
Args:
path: 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, which specifies the platform tags will run on, manages workspaces, and retains container versions.
"accountId": "A String", # GTM Account ID.
"containerId": "A String", # The Container ID uniquely identifies the GTM Container.
"domainName": [ # List of domain names associated with the Container. @mutable tagmanager.accounts.containers.create @mutable tagmanager.accounts.containers.update
"A String",
],
"fingerprint": "A String", # The fingerprint of the GTM Container as computed at storage time. This value is recomputed whenever the account is modified.
"name": "A String", # Container display name. @mutable tagmanager.accounts.containers.create @mutable tagmanager.accounts.containers.update
"notes": "A String", # Container Notes. @mutable tagmanager.accounts.containers.create @mutable tagmanager.accounts.containers.update
"path": "A String", # GTM Container's API relative path.
"publicId": "A String", # Container Public ID.
"tagManagerUrl": "A String", # Auto generated link to the tag manager UI
"usageContext": [ # List of Usage Contexts for the Container. Valid values include: web, android, or ios. @mutable tagmanager.accounts.containers.create @mutable tagmanager.accounts.containers.update
"A String",
],
}
list(parent, pageToken=None, x__xgafv=None)
Lists all Containers that belongs to a GTM Account.
Args:
parent: string, GTM Accounts's API relative path. Example: accounts/{account_id}. (required)
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 Containers Response.
"container": [ # All Containers of a GTM Account.
{ # Represents a Google Tag Manager Container, which specifies the platform tags will run on, manages workspaces, and retains container versions.
"accountId": "A String", # GTM Account ID.
"containerId": "A String", # The Container ID uniquely identifies the GTM Container.
"domainName": [ # List of domain names associated with the Container. @mutable tagmanager.accounts.containers.create @mutable tagmanager.accounts.containers.update
"A String",
],
"fingerprint": "A String", # The fingerprint of the GTM Container as computed at storage time. This value is recomputed whenever the account is modified.
"name": "A String", # Container display name. @mutable tagmanager.accounts.containers.create @mutable tagmanager.accounts.containers.update
"notes": "A String", # Container Notes. @mutable tagmanager.accounts.containers.create @mutable tagmanager.accounts.containers.update
"path": "A String", # GTM Container's API relative path.
"publicId": "A String", # Container Public ID.
"tagManagerUrl": "A String", # Auto generated link to the tag manager UI
"usageContext": [ # List of Usage Contexts for the Container. Valid values include: web, android, or ios. @mutable tagmanager.accounts.containers.create @mutable tagmanager.accounts.containers.update
"A String",
],
},
],
"nextPageToken": "A String", # Continuation token for fetching the next page of results.
}
list_next(previous_request, previous_response)
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.
update(path, body=None, fingerprint=None, x__xgafv=None)
Updates a Container.
Args:
path: string, GTM Container's API relative path. Example: accounts/{account_id}/containers/{container_id} (required)
body: object, The request body.
The object takes the form of:
{ # Represents a Google Tag Manager Container, which specifies the platform tags will run on, manages workspaces, and retains container versions.
"accountId": "A String", # GTM Account ID.
"containerId": "A String", # The Container ID uniquely identifies the GTM Container.
"domainName": [ # List of domain names associated with the Container. @mutable tagmanager.accounts.containers.create @mutable tagmanager.accounts.containers.update
"A String",
],
"fingerprint": "A String", # The fingerprint of the GTM Container as computed at storage time. This value is recomputed whenever the account is modified.
"name": "A String", # Container display name. @mutable tagmanager.accounts.containers.create @mutable tagmanager.accounts.containers.update
"notes": "A String", # Container Notes. @mutable tagmanager.accounts.containers.create @mutable tagmanager.accounts.containers.update
"path": "A String", # GTM Container's API relative path.
"publicId": "A String", # Container Public ID.
"tagManagerUrl": "A String", # Auto generated link to the tag manager UI
"usageContext": [ # List of Usage Contexts for the Container. Valid values include: web, android, or ios. @mutable tagmanager.accounts.containers.create @mutable tagmanager.accounts.containers.update
"A String",
],
}
fingerprint: string, When provided, this fingerprint must match the fingerprint of the container in storage.
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, which specifies the platform tags will run on, manages workspaces, and retains container versions.
"accountId": "A String", # GTM Account ID.
"containerId": "A String", # The Container ID uniquely identifies the GTM Container.
"domainName": [ # List of domain names associated with the Container. @mutable tagmanager.accounts.containers.create @mutable tagmanager.accounts.containers.update
"A String",
],
"fingerprint": "A String", # The fingerprint of the GTM Container as computed at storage time. This value is recomputed whenever the account is modified.
"name": "A String", # Container display name. @mutable tagmanager.accounts.containers.create @mutable tagmanager.accounts.containers.update
"notes": "A String", # Container Notes. @mutable tagmanager.accounts.containers.create @mutable tagmanager.accounts.containers.update
"path": "A String", # GTM Container's API relative path.
"publicId": "A String", # Container Public ID.
"tagManagerUrl": "A String", # Auto generated link to the tag manager UI
"usageContext": [ # List of Usage Contexts for the Container. Valid values include: web, android, or ios. @mutable tagmanager.accounts.containers.create @mutable tagmanager.accounts.containers.update
"A String",
],
}