Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Environment

import type { Environment } from "https://googleapis.deno.dev/v1/tagmanager:v2.ts";

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.

interface Environment {
accountId?: string;
authorizationCode?: string;
authorizationTimestamp?: Date;
containerId?: string;
containerVersionId?: string;
description?: string;
enableDebug?: boolean;
environmentId?: string;
fingerprint?: string;
name?: string;
path?: string;
tagManagerUrl?: string;
type?:
| "user"
| "live"
| "latest"
| "workspace";
url?: string;
workspaceId?: string;
}

§Properties

§
accountId?: string
[src]

GTM Account ID.

§
authorizationCode?: string
[src]

The environment authorization code.

§
authorizationTimestamp?: Date
[src]

The last update time-stamp for the authorization code.

§
containerId?: string
[src]

GTM Container ID.

§
containerVersionId?: string
[src]

Represents a link to a container version.

§
description?: string
[src]

The environment description. Can be set or changed only on USER type environments. @mutable tagmanager.accounts.containers.environments.create

§
enableDebug?: boolean
[src]

Whether or not to enable debug by default for the environment. @mutable tagmanager.accounts.containers.environments.create @mutable tagmanager.accounts.containers.environments.update

§
environmentId?: string
[src]

GTM Environment ID uniquely identifies the GTM Environment.

§
fingerprint?: string
[src]

The fingerprint of the GTM environment as computed at storage time. This value is recomputed whenever the environment is modified.

§
name?: string
[src]

The environment display name. Can be set or changed only on USER type environments. @mutable tagmanager.accounts.containers.environments.create

§
path?: string
[src]

GTM Environment's API relative path.

§
tagManagerUrl?: string
[src]

Auto generated link to the tag manager UI

§
type?: "user" | "live" | "latest" | "workspace"
[src]

The type of this environment.

§
url?: string
[src]

Default preview page url for the environment. @mutable tagmanager.accounts.containers.environments.create @mutable tagmanager.accounts.containers.environments.update

§
workspaceId?: string
[src]

Represents a link to a quick preview of a workspace.