Skip to main content

environments

Overview

Nameenvironments
TypeResource
Idgoogleanalytics.tagmanager.environments

Fields

NameDatatypeDescription
namestringThe 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
descriptionstringThe environment description. Can be set or changed only on USER type environments. @mutable tagmanager.accounts.containers.environments.create @mutable tagmanager.accounts.containers.environments.update
workspaceIdstringRepresents a link to a quick preview of a workspace.
containerIdstringGTM Container ID.
typestringThe type of this environment.
authorizationCodestringThe environment authorization code.
tagManagerUrlstringAuto generated link to the tag manager UI
environmentIdstringGTM Environment ID uniquely identifies the GTM Environment.
accountIdstringGTM Account ID.
authorizationTimestampstringThe last update time-stamp for the authorization code.
pathstringGTM Environment's API relative path.
urlstringDefault preview page url for the environment. @mutable tagmanager.accounts.containers.environments.create @mutable tagmanager.accounts.containers.environments.update
containerVersionIdstringRepresents a link to a container version.
fingerprintstringThe fingerprint of the GTM environment as computed at storage time. This value is recomputed whenever the environment is modified.
enableDebugbooleanWhether or not to enable debug by default for the environment. @mutable tagmanager.accounts.containers.environments.create @mutable tagmanager.accounts.containers.environments.update

Methods

NameAccessible byRequired ParamsDescription
accounts_containers_environments_getSELECTaccountsId, containersId, environmentsIdGets a GTM Environment.
accounts_containers_environments_listSELECTaccountsId, containersIdLists all GTM Environments of a GTM Container.
accounts_containers_environments_createINSERTaccountsId, containersIdCreates a GTM Environment.
accounts_containers_environments_deleteDELETEaccountsId, containersId, environmentsIdDeletes a GTM Environment.
accounts_containers_environments_reauthorizeEXECaccountsId, containersId, environmentsIdRe-generates the authorization code for a GTM Environment.
accounts_containers_environments_updateEXECaccountsId, containersId, environmentsIdUpdates a GTM Environment.