Class Environment
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.
Implements
Inherited Members
Namespace: Google.Apis.TagManager.v1.Data
Assembly: Google.Apis.TagManager.v1.dll
Syntax
public class Environment : IDirectResponseSchema
Properties
AccountId
GTM Account ID.
Declaration
[JsonProperty("accountId")]
public virtual string AccountId { get; set; }
Property Value
Type | Description |
---|---|
string |
AuthorizationCode
The environment authorization code.
Declaration
[JsonProperty("authorizationCode")]
public virtual string AuthorizationCode { get; set; }
Property Value
Type | Description |
---|---|
string |
AuthorizationTimestampMs
The last update time-stamp for the authorization code.
Declaration
[JsonProperty("authorizationTimestampMs")]
public virtual long? AuthorizationTimestampMs { get; set; }
Property Value
Type | Description |
---|---|
long? |
ContainerId
GTM Container ID.
Declaration
[JsonProperty("containerId")]
public virtual string ContainerId { get; set; }
Property Value
Type | Description |
---|---|
string |
ContainerVersionId
Declaration
[JsonProperty("containerVersionId")]
public virtual string ContainerVersionId { get; set; }
Property Value
Type | Description |
---|---|
string |
Description
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
Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
EnableDebug
Whether or not to enable debug by default on for the environment. @mutable tagmanager.accounts.containers.environments.create @mutable tagmanager.accounts.containers.environments.update
Declaration
[JsonProperty("enableDebug")]
public virtual bool? EnableDebug { get; set; }
Property Value
Type | Description |
---|---|
bool? |
EnvironmentId
GTM Environment ID uniquely identifies the GTM Environment.
Declaration
[JsonProperty("environmentId")]
public virtual string EnvironmentId { get; set; }
Property Value
Type | Description |
---|---|
string |
Fingerprint
The fingerprint of the GTM environment as computed at storage time. This value is recomputed whenever the environment is modified.
Declaration
[JsonProperty("fingerprint")]
public virtual string Fingerprint { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
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
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
Type
The type of this environment.
Declaration
[JsonProperty("type")]
public virtual string Type { get; set; }
Property Value
Type | Description |
---|---|
string |
Url
Default preview page url for the environment. @mutable tagmanager.accounts.containers.environments.create @mutable tagmanager.accounts.containers.environments.update
Declaration
[JsonProperty("url")]
public virtual string Url { get; set; }
Property Value
Type | Description |
---|---|
string |