update(accountId, containerId, environmentId, body=None, x__xgafv=None)
Re-generates the authorization code for a GTM Environment.
update(accountId, containerId, environmentId, body=None, x__xgafv=None)
Re-generates the authorization code for 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. "environmentId": "A String", # GTM Environment ID uniquely identifies the GTM Environment. "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 "authorizationCode": "A String", # The environment authorization code. "url": "A String", # Default preview page url for the environment. # @mutable tagmanager.accounts.containers.environments.create # @mutable tagmanager.accounts.containers.environments.update "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 "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 "containerId": "A String", # GTM Container ID. "containerVersionId": "A String", "fingerprint": "A String", # The fingerprint of the GTM environment as computed at storage time. # This value is recomputed whenever the environment is modified. "accountId": "A String", # GTM Account ID. "type": "A String", # The type of this environment. "authorizationTimestampMs": "A String", # The last update time-stamp for the authorization code. } 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. "environmentId": "A String", # GTM Environment ID uniquely identifies the GTM Environment. "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 "authorizationCode": "A String", # The environment authorization code. "url": "A String", # Default preview page url for the environment. # @mutable tagmanager.accounts.containers.environments.create # @mutable tagmanager.accounts.containers.environments.update "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 "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 "containerId": "A String", # GTM Container ID. "containerVersionId": "A String", "fingerprint": "A String", # The fingerprint of the GTM environment as computed at storage time. # This value is recomputed whenever the environment is modified. "accountId": "A String", # GTM Account ID. "type": "A String", # The type of this environment. "authorizationTimestampMs": "A String", # The last update time-stamp for the authorization code. }