Close httplib2 connections.
create(accountId, containerId, body=None, x__xgafv=None)
Creates a GTM Environment.
delete(accountId, containerId, environmentId, x__xgafv=None)
Deletes a GTM Environment.
get(accountId, containerId, environmentId, x__xgafv=None)
Gets a GTM Environment.
list(accountId, containerId, x__xgafv=None)
Lists all GTM Environments of a GTM Container.
update(accountId, containerId, environmentId, body=None, fingerprint=None, x__xgafv=None)
Updates a GTM Environment.
close()
Close httplib2 connections.
create(accountId, containerId, body=None, x__xgafv=None)
Creates a GTM Environment. Args: accountId: string, The GTM Account ID. (required) containerId: string, The GTM Container ID. (required) body: object, The request body. The object takes the form of: { # Represents a Google Tag Manager Environment. Note that a user can create, delete and update environments of type USER, but can only update the enable_debug and url fields of environments of other types. "accountId": "A String", # GTM Account ID. "authorizationCode": "A String", # The environment authorization code. "authorizationTimestampMs": "A String", # The last update time-stamp for the authorization code. "containerId": "A String", # GTM Container ID. "containerVersionId": "A String", "description": "A String", # The environment description. Can be set or changed only on USER type environments. @mutable tagmanager.accounts.containers.environments.create @mutable tagmanager.accounts.containers.environments.update "enableDebug": True or False, # Whether or not to enable debug by default on for the environment. @mutable tagmanager.accounts.containers.environments.create @mutable tagmanager.accounts.containers.environments.update "environmentId": "A String", # GTM Environment ID uniquely identifies the GTM Environment. "fingerprint": "A String", # The fingerprint of the GTM environment as computed at storage time. This value is recomputed whenever the environment is modified. "name": "A String", # The environment display name. Can be set or changed only on USER type environments. @mutable tagmanager.accounts.containers.environments.create @mutable tagmanager.accounts.containers.environments.update "type": "A String", # The type of this environment. "url": "A String", # Default preview page url for the environment. @mutable tagmanager.accounts.containers.environments.create @mutable tagmanager.accounts.containers.environments.update } 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 Environment. Note that a user can create, delete and update environments of type USER, but can only update the enable_debug and url fields of environments of other types. "accountId": "A String", # GTM Account ID. "authorizationCode": "A String", # The environment authorization code. "authorizationTimestampMs": "A String", # The last update time-stamp for the authorization code. "containerId": "A String", # GTM Container ID. "containerVersionId": "A String", "description": "A String", # The environment description. Can be set or changed only on USER type environments. @mutable tagmanager.accounts.containers.environments.create @mutable tagmanager.accounts.containers.environments.update "enableDebug": True or False, # Whether or not to enable debug by default on for the environment. @mutable tagmanager.accounts.containers.environments.create @mutable tagmanager.accounts.containers.environments.update "environmentId": "A String", # GTM Environment ID uniquely identifies the GTM Environment. "fingerprint": "A String", # The fingerprint of the GTM environment as computed at storage time. This value is recomputed whenever the environment is modified. "name": "A String", # The environment display name. Can be set or changed only on USER type environments. @mutable tagmanager.accounts.containers.environments.create @mutable tagmanager.accounts.containers.environments.update "type": "A String", # The type of this environment. "url": "A String", # Default preview page url for the environment. @mutable tagmanager.accounts.containers.environments.create @mutable tagmanager.accounts.containers.environments.update }
delete(accountId, containerId, environmentId, x__xgafv=None)
Deletes a GTM Environment. Args: accountId: string, The GTM Account ID. (required) containerId: string, The GTM Container ID. (required) environmentId: string, The GTM Environment ID. (required) x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format
get(accountId, containerId, environmentId, x__xgafv=None)
Gets a GTM Environment. Args: accountId: string, The GTM Account ID. (required) containerId: string, The GTM Container ID. (required) environmentId: string, The GTM Environment 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 Environment. Note that a user can create, delete and update environments of type USER, but can only update the enable_debug and url fields of environments of other types. "accountId": "A String", # GTM Account ID. "authorizationCode": "A String", # The environment authorization code. "authorizationTimestampMs": "A String", # The last update time-stamp for the authorization code. "containerId": "A String", # GTM Container ID. "containerVersionId": "A String", "description": "A String", # The environment description. Can be set or changed only on USER type environments. @mutable tagmanager.accounts.containers.environments.create @mutable tagmanager.accounts.containers.environments.update "enableDebug": True or False, # Whether or not to enable debug by default on for the environment. @mutable tagmanager.accounts.containers.environments.create @mutable tagmanager.accounts.containers.environments.update "environmentId": "A String", # GTM Environment ID uniquely identifies the GTM Environment. "fingerprint": "A String", # The fingerprint of the GTM environment as computed at storage time. This value is recomputed whenever the environment is modified. "name": "A String", # The environment display name. Can be set or changed only on USER type environments. @mutable tagmanager.accounts.containers.environments.create @mutable tagmanager.accounts.containers.environments.update "type": "A String", # The type of this environment. "url": "A String", # Default preview page url for the environment. @mutable tagmanager.accounts.containers.environments.create @mutable tagmanager.accounts.containers.environments.update }
list(accountId, containerId, x__xgafv=None)
Lists all GTM Environments of a GTM Container. Args: accountId: string, The GTM Account ID. (required) containerId: string, The GTM 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: { # List Environments Response. "environments": [ # All Environments of a GTM Container. { # Represents a Google Tag Manager Environment. Note that a user can create, delete and update environments of type USER, but can only update the enable_debug and url fields of environments of other types. "accountId": "A String", # GTM Account ID. "authorizationCode": "A String", # The environment authorization code. "authorizationTimestampMs": "A String", # The last update time-stamp for the authorization code. "containerId": "A String", # GTM Container ID. "containerVersionId": "A String", "description": "A String", # The environment description. Can be set or changed only on USER type environments. @mutable tagmanager.accounts.containers.environments.create @mutable tagmanager.accounts.containers.environments.update "enableDebug": True or False, # Whether or not to enable debug by default on for the environment. @mutable tagmanager.accounts.containers.environments.create @mutable tagmanager.accounts.containers.environments.update "environmentId": "A String", # GTM Environment ID uniquely identifies the GTM Environment. "fingerprint": "A String", # The fingerprint of the GTM environment as computed at storage time. This value is recomputed whenever the environment is modified. "name": "A String", # The environment display name. Can be set or changed only on USER type environments. @mutable tagmanager.accounts.containers.environments.create @mutable tagmanager.accounts.containers.environments.update "type": "A String", # The type of this environment. "url": "A String", # Default preview page url for the environment. @mutable tagmanager.accounts.containers.environments.create @mutable tagmanager.accounts.containers.environments.update }, ], }
update(accountId, containerId, environmentId, body=None, fingerprint=None, x__xgafv=None)
Updates a GTM Environment. Args: accountId: string, The GTM Account ID. (required) containerId: string, The GTM Container ID. (required) environmentId: string, The GTM Environment ID. (required) body: object, The request body. The object takes the form of: { # Represents a Google Tag Manager Environment. Note that a user can create, delete and update environments of type USER, but can only update the enable_debug and url fields of environments of other types. "accountId": "A String", # GTM Account ID. "authorizationCode": "A String", # The environment authorization code. "authorizationTimestampMs": "A String", # The last update time-stamp for the authorization code. "containerId": "A String", # GTM Container ID. "containerVersionId": "A String", "description": "A String", # The environment description. Can be set or changed only on USER type environments. @mutable tagmanager.accounts.containers.environments.create @mutable tagmanager.accounts.containers.environments.update "enableDebug": True or False, # Whether or not to enable debug by default on for the environment. @mutable tagmanager.accounts.containers.environments.create @mutable tagmanager.accounts.containers.environments.update "environmentId": "A String", # GTM Environment ID uniquely identifies the GTM Environment. "fingerprint": "A String", # The fingerprint of the GTM environment as computed at storage time. This value is recomputed whenever the environment is modified. "name": "A String", # The environment display name. Can be set or changed only on USER type environments. @mutable tagmanager.accounts.containers.environments.create @mutable tagmanager.accounts.containers.environments.update "type": "A String", # The type of this environment. "url": "A String", # Default preview page url for the environment. @mutable tagmanager.accounts.containers.environments.create @mutable tagmanager.accounts.containers.environments.update } fingerprint: string, When provided, this fingerprint must match the fingerprint of the environment 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 Environment. Note that a user can create, delete and update environments of type USER, but can only update the enable_debug and url fields of environments of other types. "accountId": "A String", # GTM Account ID. "authorizationCode": "A String", # The environment authorization code. "authorizationTimestampMs": "A String", # The last update time-stamp for the authorization code. "containerId": "A String", # GTM Container ID. "containerVersionId": "A String", "description": "A String", # The environment description. Can be set or changed only on USER type environments. @mutable tagmanager.accounts.containers.environments.create @mutable tagmanager.accounts.containers.environments.update "enableDebug": True or False, # Whether or not to enable debug by default on for the environment. @mutable tagmanager.accounts.containers.environments.create @mutable tagmanager.accounts.containers.environments.update "environmentId": "A String", # GTM Environment ID uniquely identifies the GTM Environment. "fingerprint": "A String", # The fingerprint of the GTM environment as computed at storage time. This value is recomputed whenever the environment is modified. "name": "A String", # The environment display name. Can be set or changed only on USER type environments. @mutable tagmanager.accounts.containers.environments.create @mutable tagmanager.accounts.containers.environments.update "type": "A String", # The type of this environment. "url": "A String", # Default preview page url for the environment. @mutable tagmanager.accounts.containers.environments.create @mutable tagmanager.accounts.containers.environments.update }