class Google::Apis::TagmanagerV1::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.
Attributes
GTM Account
ID. Corresponds to the JSON property `accountId` @return [String]
GTM Container
ID. Corresponds to the JSON property `containerId` @return [String]
Corresponds to the JSON property `containerVersionId` @return [String]
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 Corresponds to the JSON property `description` @return [String]
Whether or not to enable debug by default on for the environment. @mutable tagmanager.accounts.containers.environments.create @mutable tagmanager. accounts.containers.environments.update Corresponds to the JSON property `enableDebug` @return [Boolean]
Whether or not to enable debug by default on for the environment. @mutable tagmanager.accounts.containers.environments.create @mutable tagmanager. accounts.containers.environments.update Corresponds to the JSON property `enableDebug` @return [Boolean]
GTM Environment
ID uniquely identifies the GTM Environment
. Corresponds to the JSON property `environmentId` @return [String]
The fingerprint of the GTM environment as computed at storage time. This value is recomputed whenever the environment is modified. Corresponds to the JSON property `fingerprint` @return [String]
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 Corresponds to the JSON property `name` @return [String]
The type of this environment. Corresponds to the JSON property `type` @return [String]
Default preview page url for the environment. @mutable tagmanager.accounts. containers.environments.create @mutable tagmanager.accounts.containers. environments.update Corresponds to the JSON property `url` @return [String]
Public Class Methods
# File lib/google/apis/tagmanager_v1/classes.rb, line 553 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/tagmanager_v1/classes.rb, line 558 def update!(**args) @account_id = args[:account_id] if args.key?(:account_id) @authorization_code = args[:authorization_code] if args.key?(:authorization_code) @authorization_timestamp_ms = args[:authorization_timestamp_ms] if args.key?(:authorization_timestamp_ms) @container_id = args[:container_id] if args.key?(:container_id) @container_version_id = args[:container_version_id] if args.key?(:container_version_id) @description = args[:description] if args.key?(:description) @enable_debug = args[:enable_debug] if args.key?(:enable_debug) @environment_id = args[:environment_id] if args.key?(:environment_id) @fingerprint = args[:fingerprint] if args.key?(:fingerprint) @name = args[:name] if args.key?(:name) @type = args[:type] if args.key?(:type) @url = args[:url] if args.key?(:url) end