public final class Environment
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Tag Manager API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
Environment() |
| Modifier and Type | Method and Description |
|---|---|
Environment |
clone() |
java.lang.String |
getAccountId()
GTM Account ID.
|
java.lang.String |
getAuthorizationCode()
The environment authorization code.
|
java.lang.Long |
getAuthorizationTimestampMs()
The last update time-stamp for the authorization code.
|
java.lang.String |
getContainerId()
GTM Container ID.
|
java.lang.String |
getContainerVersionId() |
java.lang.String |
getDescription()
The environment description.
|
java.lang.Boolean |
getEnableDebug()
Whether or not to enable debug by default on for the environment.
|
java.lang.String |
getEnvironmentId()
GTM Environment ID uniquely identifies the GTM Environment.
|
java.lang.String |
getFingerprint()
The fingerprint of the GTM environment as computed at storage time.
|
java.lang.String |
getName()
The environment display name.
|
java.lang.String |
getType()
The type of this environment.
|
java.lang.String |
getUrl()
Default preview page url for the environment.
|
Environment |
set(java.lang.String fieldName,
java.lang.Object value) |
Environment |
setAccountId(java.lang.String accountId)
GTM Account ID.
|
Environment |
setAuthorizationCode(java.lang.String authorizationCode)
The environment authorization code.
|
Environment |
setAuthorizationTimestampMs(java.lang.Long authorizationTimestampMs)
The last update time-stamp for the authorization code.
|
Environment |
setContainerId(java.lang.String containerId)
GTM Container ID.
|
Environment |
setContainerVersionId(java.lang.String containerVersionId) |
Environment |
setDescription(java.lang.String description)
The environment description.
|
Environment |
setEnableDebug(java.lang.Boolean enableDebug)
Whether or not to enable debug by default on for the environment.
|
Environment |
setEnvironmentId(java.lang.String environmentId)
GTM Environment ID uniquely identifies the GTM Environment.
|
Environment |
setFingerprint(java.lang.String fingerprint)
The fingerprint of the GTM environment as computed at storage time.
|
Environment |
setName(java.lang.String name)
The environment display name.
|
Environment |
setType(java.lang.String type)
The type of this environment.
|
Environment |
setUrl(java.lang.String url)
Default preview page url for the environment.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic java.lang.String getAccountId()
null for nonepublic Environment setAccountId(java.lang.String accountId)
accountId - accountId or null for nonepublic java.lang.String getAuthorizationCode()
null for nonepublic Environment setAuthorizationCode(java.lang.String authorizationCode)
authorizationCode - authorizationCode or null for nonepublic java.lang.Long getAuthorizationTimestampMs()
null for nonepublic Environment setAuthorizationTimestampMs(java.lang.Long authorizationTimestampMs)
authorizationTimestampMs - authorizationTimestampMs or null for nonepublic java.lang.String getContainerId()
null for nonepublic Environment setContainerId(java.lang.String containerId)
containerId - containerId or null for nonepublic java.lang.String getContainerVersionId()
null for nonepublic Environment setContainerVersionId(java.lang.String containerVersionId)
containerVersionId - containerVersionId or null for nonepublic java.lang.String getDescription()
null for nonepublic Environment setDescription(java.lang.String description)
description - description or null for nonepublic java.lang.Boolean getEnableDebug()
null for nonepublic Environment setEnableDebug(java.lang.Boolean enableDebug)
enableDebug - enableDebug or null for nonepublic java.lang.String getEnvironmentId()
null for nonepublic Environment setEnvironmentId(java.lang.String environmentId)
environmentId - environmentId or null for nonepublic java.lang.String getFingerprint()
null for nonepublic Environment setFingerprint(java.lang.String fingerprint)
fingerprint - fingerprint or null for nonepublic java.lang.String getName()
null for nonepublic Environment setName(java.lang.String name)
name - name or null for nonepublic java.lang.String getType()
null for nonepublic Environment setType(java.lang.String type)
type - type or null for nonepublic java.lang.String getUrl()
null for nonepublic Environment setUrl(java.lang.String url)
url - url or null for nonepublic Environment set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic Environment clone()
clone in class com.google.api.client.json.GenericJson