Class: Google::Apis::TagmanagerV2::ContainerVersion
- Inherits:
-
Object
- Object
- Google::Apis::TagmanagerV2::ContainerVersion
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/tagmanager_v2/classes.rb,
lib/google/apis/tagmanager_v2/representations.rb,
lib/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.
-
#client ⇒ Array<Google::Apis::TagmanagerV2::Client>
The clients 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.
-
#gtag_config ⇒ Array<Google::Apis::TagmanagerV2::GtagConfig>
The Google tag configs in the container that this version was taken from.
-
#name ⇒ String
Container version display name.
-
#path ⇒ String
GTM Container Version'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
. -
#transformation ⇒ Array<Google::Apis::TagmanagerV2::Transformation>
The transformations in the container that this version was taken from.
-
#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.
Constructor Details
#initialize(**args) ⇒ ContainerVersion
Returns a new instance of ContainerVersion.
674 675 676 |
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 674 def initialize(**args) update!(**args) end |
Instance Attribute Details
#account_id ⇒ String
GTM Account ID.
Corresponds to the JSON property accountId
572 573 574 |
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 572 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
577 578 579 |
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 577 def built_in_variable @built_in_variable end |
#client ⇒ Array<Google::Apis::TagmanagerV2::Client>
The clients in the container that this version was taken from.
Corresponds to the JSON property client
582 583 584 |
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 582 def client @client 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
588 589 590 |
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 588 def container @container end |
#container_id ⇒ String
GTM Container ID.
Corresponds to the JSON property containerId
593 594 595 |
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 593 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
598 599 600 |
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 598 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
603 604 605 |
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 603 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
608 609 610 |
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 608 def deleted @deleted end |
#description ⇒ String
Container version description. @mutable tagmanager.accounts.containers.
versions.update
Corresponds to the JSON property description
615 616 617 |
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 615 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
621 622 623 |
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 621 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
626 627 628 |
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 626 def folder @folder end |
#gtag_config ⇒ Array<Google::Apis::TagmanagerV2::GtagConfig>
The Google tag configs in the container that this version was taken from.
Corresponds to the JSON property gtagConfig
631 632 633 |
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 631 def gtag_config @gtag_config end |
#name ⇒ String
Container version display name. @mutable tagmanager.accounts.containers.
versions.update
Corresponds to the JSON property name
637 638 639 |
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 637 def name @name end |
#path ⇒ String
GTM Container Version's API relative path.
Corresponds to the JSON property path
642 643 644 |
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 642 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
647 648 649 |
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 647 def tag @tag end |
#tag_manager_url ⇒ String
Auto generated link to the tag manager UI
Corresponds to the JSON property tagManagerUrl
652 653 654 |
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 652 def tag_manager_url @tag_manager_url end |
#transformation ⇒ Array<Google::Apis::TagmanagerV2::Transformation>
The transformations in the container that this version was taken from.
Corresponds to the JSON property transformation
657 658 659 |
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 657 def transformation @transformation end |
#trigger ⇒ Array<Google::Apis::TagmanagerV2::Trigger>
The triggers in the container that this version was taken from.
Corresponds to the JSON property trigger
662 663 664 |
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 662 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
667 668 669 |
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 667 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
672 673 674 |
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 672 def zone @zone end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 |
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 679 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) @client = args[:client] if args.key?(:client) @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) @gtag_config = args[:gtag_config] if args.key?(:gtag_config) @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) @transformation = args[:transformation] if args.key?(:transformation) @trigger = args[:trigger] if args.key?(:trigger) @variable = args[:variable] if args.key?(:variable) @zone = args[:zone] if args.key?(:zone) end |