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

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ContainerVersionHeader

Returns a new instance of ContainerVersionHeader



463
464
465
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 463

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

Instance Attribute Details

#account_idString

GTM Account ID. Corresponds to the JSON property accountId

Returns:

  • (String)


405
406
407
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 405

def 
  @account_id
end

#container_idString

GTM Container ID. Corresponds to the JSON property containerId

Returns:

  • (String)


410
411
412
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 410

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)


415
416
417
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 415

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)


420
421
422
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 420

def deleted
  @deleted
end

#nameString

Container version display name. Corresponds to the JSON property name

Returns:

  • (String)


426
427
428
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 426

def name
  @name
end

#num_macrosString

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

Returns:

  • (String)


431
432
433
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 431

def num_macros
  @num_macros
end

#num_rulesString

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

Returns:

  • (String)


436
437
438
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 436

def num_rules
  @num_rules
end

#num_tagsString

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

Returns:

  • (String)


441
442
443
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 441

def num_tags
  @num_tags
end

#num_triggersString

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

Returns:

  • (String)


446
447
448
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 446

def num_triggers
  @num_triggers
end

#num_variablesString

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

Returns:

  • (String)


451
452
453
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 451

def num_variables
  @num_variables
end

#num_zonesString

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

Returns:

  • (String)


456
457
458
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 456

def num_zones
  @num_zones
end

#pathString

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

Returns:

  • (String)


461
462
463
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 461

def path
  @path
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



468
469
470
471
472
473
474
475
476
477
478
479
480
481
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 468

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