Class: Google::Apis::TagmanagerV2::ContainerVersionHeader
- Inherits:
-
Object
- Object
- Google::Apis::TagmanagerV2::ContainerVersionHeader
- 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 Header.
Instance Attribute Summary collapse
-
#account_id ⇒ String
GTM Account ID.
-
#container_id ⇒ String
GTM Container ID.
-
#container_version_id ⇒ String
The Container Version ID uniquely identifies the GTM Container Version.
-
#deleted ⇒ Boolean
(also: #deleted?)
A value of true indicates this container version has been deleted.
-
#name ⇒ String
Container version display name.
-
#num_clients ⇒ String
Number of clients in the container version.
-
#num_custom_templates ⇒ String
Number of custom templates in the container version.
-
#num_gtag_configs ⇒ String
Number of Google tag configs in the container version.
-
#num_macros ⇒ String
Number of macros in the container version.
-
#num_rules ⇒ String
Number of rules in the container version.
-
#num_tags ⇒ String
Number of tags in the container version.
-
#num_triggers ⇒ String
Number of triggers in the container version.
-
#num_variables ⇒ String
Number of variables in the container version.
-
#num_zones ⇒ String
Number of zones in the container version.
-
#path ⇒ String
GTM Container Version's API relative path.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ContainerVersionHeader
constructor
A new instance of ContainerVersionHeader.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ContainerVersionHeader
Returns a new instance of ContainerVersionHeader.
770 771 772 |
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 770 def initialize(**args) update!(**args) end |
Instance Attribute Details
#account_id ⇒ String
GTM Account ID.
Corresponds to the JSON property accountId
697 698 699 |
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 697 def account_id @account_id end |
#container_id ⇒ String
GTM Container ID.
Corresponds to the JSON property containerId
702 703 704 |
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 702 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
707 708 709 |
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 707 def container_version_id @container_version_id end |
#deleted ⇒ Boolean Also known as: deleted?
A value of true indicates this container version has been deleted.
Corresponds to the JSON property deleted
712 713 714 |
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 712 def deleted @deleted end |
#name ⇒ String
Container version display name.
Corresponds to the JSON property name
718 719 720 |
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 718 def name @name end |
#num_clients ⇒ String
Number of clients in the container version.
Corresponds to the JSON property numClients
723 724 725 |
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 723 def num_clients @num_clients end |
#num_custom_templates ⇒ String
Number of custom templates in the container version.
Corresponds to the JSON property numCustomTemplates
728 729 730 |
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 728 def num_custom_templates @num_custom_templates end |
#num_gtag_configs ⇒ String
Number of Google tag configs in the container version.
Corresponds to the JSON property numGtagConfigs
733 734 735 |
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 733 def num_gtag_configs @num_gtag_configs end |
#num_macros ⇒ String
Number of macros in the container version.
Corresponds to the JSON property numMacros
738 739 740 |
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 738 def num_macros @num_macros end |
#num_rules ⇒ String
Number of rules in the container version.
Corresponds to the JSON property numRules
743 744 745 |
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 743 def num_rules @num_rules end |
#num_tags ⇒ String
Number of tags in the container version.
Corresponds to the JSON property numTags
748 749 750 |
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 748 def @num_tags end |
#num_triggers ⇒ String
Number of triggers in the container version.
Corresponds to the JSON property numTriggers
753 754 755 |
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 753 def num_triggers @num_triggers end |
#num_variables ⇒ String
Number of variables in the container version.
Corresponds to the JSON property numVariables
758 759 760 |
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 758 def num_variables @num_variables end |
#num_zones ⇒ String
Number of zones in the container version.
Corresponds to the JSON property numZones
763 764 765 |
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 763 def num_zones @num_zones end |
#path ⇒ String
GTM Container Version's API relative path.
Corresponds to the JSON property path
768 769 770 |
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 768 def path @path end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 |
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 775 def update!(**args) @account_id = args[:account_id] if args.key?(:account_id) @container_id = args[:container_id] if args.key?(:container_id) @container_version_id = args[:container_version_id] if args.key?(:container_version_id) @deleted = args[:deleted] if args.key?(:deleted) @name = args[:name] if args.key?(:name) @num_clients = args[:num_clients] if args.key?(:num_clients) @num_custom_templates = args[:num_custom_templates] if args.key?(:num_custom_templates) @num_gtag_configs = args[:num_gtag_configs] if args.key?(:num_gtag_configs) @num_macros = args[:num_macros] if args.key?(:num_macros) @num_rules = args[:num_rules] if args.key?(:num_rules) @num_tags = args[:num_tags] if args.key?(:num_tags) @num_triggers = args[:num_triggers] if args.key?(:num_triggers) @num_variables = args[:num_variables] if args.key?(:num_variables) @num_zones = args[:num_zones] if args.key?(:num_zones) @path = args[:path] if args.key?(:path) end |