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

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ContainerVersionHeader

Returns a new instance of ContainerVersionHeader.



594
595
596
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 594

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

Instance Attribute Details

#account_idString

GTM Account ID. Corresponds to the JSON property accountId

Returns:

  • (String)


526
527
528
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 526

def 
  @account_id
end

#container_idString

GTM Container ID. Corresponds to the JSON property containerId

Returns:

  • (String)


531
532
533
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 531

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)


536
537
538
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 536

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)


541
542
543
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 541

def deleted
  @deleted
end

#nameString

Container version display name. Corresponds to the JSON property name

Returns:

  • (String)


547
548
549
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 547

def name
  @name
end

#num_clientsString

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

Returns:

  • (String)


552
553
554
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 552

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)


557
558
559
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 557

def num_custom_templates
  @num_custom_templates
end

#num_macrosString

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

Returns:

  • (String)


562
563
564
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 562

def num_macros
  @num_macros
end

#num_rulesString

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

Returns:

  • (String)


567
568
569
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 567

def num_rules
  @num_rules
end

#num_tagsString

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

Returns:

  • (String)


572
573
574
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 572

def num_tags
  @num_tags
end

#num_triggersString

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

Returns:

  • (String)


577
578
579
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 577

def num_triggers
  @num_triggers
end

#num_variablesString

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

Returns:

  • (String)


582
583
584
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 582

def num_variables
  @num_variables
end

#num_zonesString

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

Returns:

  • (String)


587
588
589
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 587

def num_zones
  @num_zones
end

#pathString

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

Returns:

  • (String)


592
593
594
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 592

def path
  @path
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 599

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_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