Class: Google::Apis::TagmanagerV2::ContainerVersion
- Inherits:
-
Object
- Object
- Google::Apis::TagmanagerV2::ContainerVersion
- 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 Version.
Instance Attribute Summary collapse
-
#account_id ⇒ String
GTM Account ID.
-
#built_in_variable ⇒ Array<Google::Apis::TagmanagerV2::BuiltInVariable>
The built-in variables in the container that this version was taken from.
-
#container ⇒ Google::Apis::TagmanagerV2::Container
Represents a Google Tag Manager Container, which specifies the platform tags will run on, manages workspaces, and retains container versions.
-
#container_id ⇒ String
GTM Container ID.
-
#container_version_id ⇒ String
The Container Version ID uniquely identifies the GTM Container Version.
-
#custom_template ⇒ Array<Google::Apis::TagmanagerV2::CustomTemplate>
The custom templates in the container that this version was taken from.
-
#deleted ⇒ Boolean
(also: #deleted?)
A value of true indicates this container version has been deleted.
-
#description ⇒ String
Container version description.
-
#fingerprint ⇒ String
The fingerprint of the GTM Container Version as computed at storage time.
-
#folder ⇒ Array<Google::Apis::TagmanagerV2::Folder>
The folders in the container that this version was taken from.
-
#name ⇒ String
Container version display name.
-
#path ⇒ String
GTM ContainerVersions's API relative path.
-
#tag ⇒ Array<Google::Apis::TagmanagerV2::Tag>
The tags in the container that this version was taken from.
-
#tag_manager_url ⇒ String
Auto generated link to the tag manager UI Corresponds to the JSON property
tagManagerUrl
. -
#trigger ⇒ Array<Google::Apis::TagmanagerV2::Trigger>
The triggers in the container that this version was taken from.
-
#variable ⇒ Array<Google::Apis::TagmanagerV2::Variable>
The variables in the container that this version was taken from.
-
#zone ⇒ Array<Google::Apis::TagmanagerV2::Zone>
The zones in the container that this version was taken from.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ContainerVersion
constructor
A new instance of ContainerVersion.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ContainerVersion
Returns a new instance of ContainerVersion
410 411 412 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 410 def initialize(**args) update!(**args) end |
Instance Attribute Details
#account_id ⇒ String
GTM Account ID.
Corresponds to the JSON property accountId
322 323 324 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 322 def account_id @account_id end |
#built_in_variable ⇒ Array<Google::Apis::TagmanagerV2::BuiltInVariable>
The built-in variables in the container that this version was taken from.
Corresponds to the JSON property builtInVariable
327 328 329 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 327 def built_in_variable @built_in_variable end |
#container ⇒ Google::Apis::TagmanagerV2::Container
Represents a Google Tag Manager Container, which specifies the platform tags
will run on, manages workspaces, and retains container versions.
Corresponds to the JSON property container
333 334 335 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 333 def container @container end |
#container_id ⇒ String
GTM Container ID.
Corresponds to the JSON property containerId
338 339 340 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 338 def container_id @container_id end |
#container_version_id ⇒ String
The Container Version ID uniquely identifies the GTM Container Version.
Corresponds to the JSON property containerVersionId
343 344 345 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 343 def container_version_id @container_version_id end |
#custom_template ⇒ Array<Google::Apis::TagmanagerV2::CustomTemplate>
The custom templates in the container that this version was taken from.
Corresponds to the JSON property customTemplate
348 349 350 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 348 def custom_template @custom_template end |
#deleted ⇒ Boolean Also known as: deleted?
A value of true indicates this container version has been deleted.
Corresponds to the JSON property deleted
353 354 355 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 353 def deleted @deleted end |
#description ⇒ String
Container version description.
Corresponds to the JSON property description
360 361 362 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 360 def description @description end |
#fingerprint ⇒ String
The fingerprint of the GTM Container Version as computed at
storage time. This value is recomputed whenever the container version is
modified.
Corresponds to the JSON property fingerprint
367 368 369 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 367 def fingerprint @fingerprint end |
#folder ⇒ Array<Google::Apis::TagmanagerV2::Folder>
The folders in the container that this version was taken from.
Corresponds to the JSON property folder
372 373 374 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 372 def folder @folder end |
#name ⇒ String
Container version display name.
Corresponds to the JSON property name
378 379 380 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 378 def name @name end |
#path ⇒ String
GTM ContainerVersions's API relative path.
Corresponds to the JSON property path
383 384 385 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 383 def path @path end |
#tag ⇒ Array<Google::Apis::TagmanagerV2::Tag>
The tags in the container that this version was taken from.
Corresponds to the JSON property tag
388 389 390 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 388 def tag @tag end |
#tag_manager_url ⇒ String
Auto generated link to the tag manager UI
Corresponds to the JSON property tagManagerUrl
393 394 395 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 393 def tag_manager_url @tag_manager_url end |
#trigger ⇒ Array<Google::Apis::TagmanagerV2::Trigger>
The triggers in the container that this version was taken from.
Corresponds to the JSON property trigger
398 399 400 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 398 def trigger @trigger end |
#variable ⇒ Array<Google::Apis::TagmanagerV2::Variable>
The variables in the container that this version was taken from.
Corresponds to the JSON property variable
403 404 405 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 403 def variable @variable end |
#zone ⇒ Array<Google::Apis::TagmanagerV2::Zone>
The zones in the container that this version was taken from.
Corresponds to the JSON property zone
408 409 410 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 408 def zone @zone end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 415 def update!(**args) @account_id = args[:account_id] if args.key?(:account_id) @built_in_variable = args[:built_in_variable] if args.key?(:built_in_variable) @container = args[:container] if args.key?(:container) @container_id = args[:container_id] if args.key?(:container_id) @container_version_id = args[:container_version_id] if args.key?(:container_version_id) @custom_template = args[:custom_template] if args.key?(:custom_template) @deleted = args[:deleted] if args.key?(:deleted) @description = args[:description] if args.key?(:description) @fingerprint = args[:fingerprint] if args.key?(:fingerprint) @folder = args[:folder] if args.key?(:folder) @name = args[:name] if args.key?(:name) @path = args[:path] if args.key?(:path) @tag = args[:tag] if args.key?(:tag) @tag_manager_url = args[:tag_manager_url] if args.key?(:tag_manager_url) @trigger = args[:trigger] if args.key?(:trigger) @variable = args[:variable] if args.key?(:variable) @zone = args[:zone] if args.key?(:zone) end |