Show / Hide Table of Contents

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.

Inheritance
System.Object
Environment
Implements
IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.TagManager.v2.Data
Assembly: Google.Apis.TagManager.v2.dll
Syntax
public class Environment : IDirectResponseSchema

Properties

AccountId

GTM Account ID.

Declaration
[JsonProperty("accountId")]
public virtual string AccountId { get; set; }
Property Value
Type Description
System.String

AuthorizationCode

The environment authorization code.

Declaration
[JsonProperty("authorizationCode")]
public virtual string AuthorizationCode { get; set; }
Property Value
Type Description
System.String

AuthorizationTimestamp

The last update time-stamp for the authorization code.

Declaration
[JsonProperty("authorizationTimestamp")]
public virtual Timestamp AuthorizationTimestamp { get; set; }
Property Value
Type Description
Timestamp

ContainerId

GTM Container ID.

Declaration
[JsonProperty("containerId")]
public virtual string ContainerId { get; set; }
Property Value
Type Description
System.String

ContainerVersionId

Represents a link to a container version.

Declaration
[JsonProperty("containerVersionId")]
public virtual string ContainerVersionId { get; set; }
Property Value
Type Description
System.String

Description

The environment description. Can be set or changed only on USER type environments.

Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
Type Description
System.String

EnableDebug

Whether or not to enable debug by default for the environment.

Declaration
[JsonProperty("enableDebug")]
public virtual bool? EnableDebug { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>

EnvironmentId

GTM Environment ID uniquely identifies the GTM Environment.

Declaration
[JsonProperty("environmentId")]
public virtual string EnvironmentId { get; set; }
Property Value
Type Description
System.String

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
System.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
System.String

Name

The environment display name. Can be set or changed only on USER type environments.

Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type Description
System.String

Path

GTM Environment's API relative path.

Declaration
[JsonProperty("path")]
public virtual string Path { get; set; }
Property Value
Type Description
System.String

TagManagerUrl

Auto generated link to the tag manager UI

Declaration
[JsonProperty("tagManagerUrl")]
public virtual string TagManagerUrl { get; set; }
Property Value
Type Description
System.String

Type

The type of this environment.

Declaration
[JsonProperty("type")]
public virtual string Type { get; set; }
Property Value
Type Description
System.String

Url

Default preview page url for the environment.

Declaration
[JsonProperty("url")]
public virtual string Url { get; set; }
Property Value
Type Description
System.String

WorkspaceId

Represents a link to a quick preview of a workspace.

Declaration
[JsonProperty("workspaceId")]
public virtual string WorkspaceId { get; set; }
Property Value
Type Description
System.String

Implements

IDirectResponseSchema
Back to top