Class: Google::Apis::TagmanagerV2::Container
- Inherits:
-
Object
- Object
- Google::Apis::TagmanagerV2::Container
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/tagmanager_v2/classes.rb,
generated/google/apis/tagmanager_v2/representations.rb,
generated/google/apis/tagmanager_v2/representations.rb
Overview
Represents a Google Tag Manager Container, which specifies the platform tags will run on, manages workspaces, and retains container versions.
Instance Attribute Summary collapse
-
#account_id ⇒ String
GTM Account ID.
-
#container_id ⇒ String
The Container ID uniquely identifies the GTM Container.
-
#domain_name ⇒ Array<String>
List of domain names associated with the Container.
-
#fingerprint ⇒ String
The fingerprint of the GTM Container as computed at storage time.
-
#name ⇒ String
Container display name.
-
#notes ⇒ String
Container Notes.
-
#path ⇒ String
GTM Container's API relative path.
-
#public_id ⇒ String
Container Public ID.
-
#tag_manager_url ⇒ String
Auto generated link to the tag manager UI Corresponds to the JSON property
tagManagerUrl
. -
#usage_context ⇒ Array<String>
List of Usage Contexts for the Container.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Container
constructor
A new instance of Container.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Container
Returns a new instance of Container
267 268 269 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 267 def initialize(**args) update!(**args) end |
Instance Attribute Details
#account_id ⇒ String
GTM Account ID.
Corresponds to the JSON property accountId
210 211 212 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 210 def account_id @account_id end |
#container_id ⇒ String
The Container ID uniquely identifies the GTM Container.
Corresponds to the JSON property containerId
215 216 217 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 215 def container_id @container_id end |
#domain_name ⇒ Array<String>
List of domain names associated with the Container.
Corresponds to the JSON property domainName
222 223 224 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 222 def domain_name @domain_name end |
#fingerprint ⇒ 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
228 229 230 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 228 def fingerprint @fingerprint end |
#name ⇒ String
Container display name.
Corresponds to the JSON property name
235 236 237 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 235 def name @name end |
#notes ⇒ String
Container Notes.
Corresponds to the JSON property notes
242 243 244 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 242 def notes @notes end |
#path ⇒ String
GTM Container's API relative path.
Corresponds to the JSON property path
247 248 249 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 247 def path @path end |
#public_id ⇒ String
Container Public ID.
Corresponds to the JSON property publicId
252 253 254 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 252 def public_id @public_id end |
#tag_manager_url ⇒ String
Auto generated link to the tag manager UI
Corresponds to the JSON property tagManagerUrl
257 258 259 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 257 def tag_manager_url @tag_manager_url end |
#usage_context ⇒ Array<String>
List of Usage Contexts for the Container. Valid values include: web,
android, or ios
.
Corresponds to the JSON property usageContext
265 266 267 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 265 def usage_context @usage_context end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
272 273 274 275 276 277 278 279 280 281 282 283 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 272 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) @fingerprint = args[:fingerprint] if args.key?(:fingerprint) @name = args[:name] if args.key?(:name) @notes = args[:notes] if args.key?(:notes) @path = args[:path] if args.key?(:path) @public_id = args[:public_id] if args.key?(:public_id) @tag_manager_url = args[:tag_manager_url] if args.key?(:tag_manager_url) @usage_context = args[:usage_context] if args.key?(:usage_context) end |