class Google::Apis::TagmanagerV1::Container
Attributes
GTM Account
ID. Corresponds to the JSON property `accountId` @return [String]
Optional list of domain names associated with the Container
. @mutable tagmanager.accounts.containers.create @mutable tagmanager.accounts.containers. update Corresponds to the JSON property `domainName` @return [Array<String>]
List of enabled built-in variables. Valid values include: pageUrl, pageHostname, pagePath, referrer, event, clickElement, clickClasses, clickId, clickTarget, clickUrl, clickText, formElement, formClasses, formId, formTarget, formUrl, formText, errorMessage, errorUrl, errorLine, newHistoryFragment, oldHistoryFragment, newHistoryState, oldHistoryState, historySource, containerVersion, debugMode, randomNumber, containerId. @mutable tagmanager. accounts.containers.create @mutable tagmanager.accounts.containers.update Corresponds to the JSON property `enabledBuiltInVariable` @return [Array<String>]
The fingerprint of the GTM Container
as computed at storage time. This value is recomputed whenever the account is modified. Corresponds to the JSON property `fingerprint` @return [String]
Container
display name. @mutable tagmanager.accounts.containers.create @ mutable tagmanager.accounts.containers.update Corresponds to the JSON property `name` @return [String]
Container
Notes. @mutable tagmanager.accounts.containers.create @mutable tagmanager.accounts.containers.update Corresponds to the JSON property `notes` @return [String]
Container
Public ID. Corresponds to the JSON property `publicId` @return [String]
Container
Country ID. @mutable tagmanager.accounts.containers.create @mutable tagmanager.accounts.containers.update Corresponds to the JSON property `timeZoneCountryId` @return [String]
Container
Time Zone ID. @mutable tagmanager.accounts.containers.create @ mutable tagmanager.accounts.containers.update Corresponds to the JSON property `timeZoneId` @return [String]
List of Usage Contexts for the Container
. Valid values include: web, android, ios. @mutable tagmanager.accounts.containers.create @mutable tagmanager. accounts.containers.update Corresponds to the JSON property `usageContext` @return [Array<String>]
Public Class Methods
# File lib/google/apis/tagmanager_v1/classes.rb, line 196 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/tagmanager_v1/classes.rb, line 201 def update!(**args) @account_id = args[:account_id] if args.key?(:account_id) @container_id = args[:container_id] if args.key?(:container_id) @domain_name = args[:domain_name] if args.key?(:domain_name) @enabled_built_in_variable = args[:enabled_built_in_variable] if args.key?(:enabled_built_in_variable) @fingerprint = args[:fingerprint] if args.key?(:fingerprint) @name = args[:name] if args.key?(:name) @notes = args[:notes] if args.key?(:notes) @public_id = args[:public_id] if args.key?(:public_id) @time_zone_country_id = args[:time_zone_country_id] if args.key?(:time_zone_country_id) @time_zone_id = args[:time_zone_id] if args.key?(:time_zone_id) @usage_context = args[:usage_context] if args.key?(:usage_context) end