Class: Google::Apis::TagmanagerV1::ContainerVersionHeader

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/tagmanager_v1/classes.rb,
lib/google/apis/tagmanager_v1/representations.rb,
lib/google/apis/tagmanager_v1/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.



400
401
402
# File 'lib/google/apis/tagmanager_v1/classes.rb', line 400

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

Instance Attribute Details

#account_idString

GTM Account ID. Corresponds to the JSON property accountId

Returns:

  • (String)


352
353
354
# File 'lib/google/apis/tagmanager_v1/classes.rb', line 352

def 
  @account_id
end

#container_idString

GTM Container ID. Corresponds to the JSON property containerId

Returns:

  • (String)


357
358
359
# File 'lib/google/apis/tagmanager_v1/classes.rb', line 357

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)


362
363
364
# File 'lib/google/apis/tagmanager_v1/classes.rb', line 362

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)


367
368
369
# File 'lib/google/apis/tagmanager_v1/classes.rb', line 367

def deleted
  @deleted
end

#nameString

Container version display name. Corresponds to the JSON property name

Returns:

  • (String)


373
374
375
# File 'lib/google/apis/tagmanager_v1/classes.rb', line 373

def name
  @name
end

#num_macrosString

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

Returns:

  • (String)


378
379
380
# File 'lib/google/apis/tagmanager_v1/classes.rb', line 378

def num_macros
  @num_macros
end

#num_rulesString

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

Returns:

  • (String)


383
384
385
# File 'lib/google/apis/tagmanager_v1/classes.rb', line 383

def num_rules
  @num_rules
end

#num_tagsString

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

Returns:

  • (String)


388
389
390
# File 'lib/google/apis/tagmanager_v1/classes.rb', line 388

def num_tags
  @num_tags
end

#num_triggersString

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

Returns:

  • (String)


393
394
395
# File 'lib/google/apis/tagmanager_v1/classes.rb', line 393

def num_triggers
  @num_triggers
end

#num_variablesString

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

Returns:

  • (String)


398
399
400
# File 'lib/google/apis/tagmanager_v1/classes.rb', line 398

def num_variables
  @num_variables
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



405
406
407
408
409
410
411
412
413
414
415
416
# File 'lib/google/apis/tagmanager_v1/classes.rb', line 405

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)
end