Class: Google::Apis::TagmanagerV2::ContainerVersionHeader

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ContainerVersionHeader

Returns a new instance of ContainerVersionHeader.



788
789
790
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 788

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#account_idString

GTM Account ID. Corresponds to the JSON property accountId

Returns:

  • (String)


710
711
712
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 710

def 
  @account_id
end

#container_idString

GTM Container ID. Corresponds to the JSON property containerId

Returns:

  • (String)


715
716
717
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 715

def container_id
  @container_id
end

#container_version_idString

The Container Version ID uniquely identifies the GTM Container Version. Corresponds to the JSON property containerVersionId

Returns:

  • (String)


720
721
722
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 720

def container_version_id
  @container_version_id
end

#deletedBoolean Also known as: deleted?

A value of true indicates this container version has been deleted. Corresponds to the JSON property deleted

Returns:

  • (Boolean)


725
726
727
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 725

def deleted
  @deleted
end

#nameString

Container version display name. Corresponds to the JSON property name

Returns:

  • (String)


731
732
733
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 731

def name
  @name
end

#num_clientsString

Number of clients in the container version. Corresponds to the JSON property numClients

Returns:

  • (String)


736
737
738
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 736

def num_clients
  @num_clients
end

#num_custom_templatesString

Number of custom templates in the container version. Corresponds to the JSON property numCustomTemplates

Returns:

  • (String)


741
742
743
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 741

def num_custom_templates
  @num_custom_templates
end

#num_gtag_configsString

Number of Google tag configs in the container version. Corresponds to the JSON property numGtagConfigs

Returns:

  • (String)


746
747
748
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 746

def num_gtag_configs
  @num_gtag_configs
end

#num_macrosString

Number of macros in the container version. Corresponds to the JSON property numMacros

Returns:

  • (String)


751
752
753
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 751

def num_macros
  @num_macros
end

#num_rulesString

Number of rules in the container version. Corresponds to the JSON property numRules

Returns:

  • (String)


756
757
758
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 756

def num_rules
  @num_rules
end

#num_tagsString

Number of tags in the container version. Corresponds to the JSON property numTags

Returns:

  • (String)


761
762
763
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 761

def num_tags
  @num_tags
end

#num_transformationsString

Number of transformations in the container version. Corresponds to the JSON property numTransformations

Returns:

  • (String)


766
767
768
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 766

def num_transformations
  @num_transformations
end

#num_triggersString

Number of triggers in the container version. Corresponds to the JSON property numTriggers

Returns:

  • (String)


771
772
773
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 771

def num_triggers
  @num_triggers
end

#num_variablesString

Number of variables in the container version. Corresponds to the JSON property numVariables

Returns:

  • (String)


776
777
778
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 776

def num_variables
  @num_variables
end

#num_zonesString

Number of zones in the container version. Corresponds to the JSON property numZones

Returns:

  • (String)


781
782
783
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 781

def num_zones
  @num_zones
end

#pathString

GTM Container Version's API relative path. Corresponds to the JSON property path

Returns:

  • (String)


786
787
788
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 786

def path
  @path
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 793

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_transformations = args[:num_transformations] if args.key?(:num_transformations)
  @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