class Google::Apis::TagmanagerV1::ContainerVersionHeader

Represents a Google Tag Manager Container Version Header.

Attributes

account_id[RW]

GTM Account ID. Corresponds to the JSON property `accountId` @return [String]

container_id[RW]

GTM Container ID. Corresponds to the JSON property `containerId` @return [String]

container_version_id[RW]

The Container Version ID uniquely identifies the GTM Container Version. Corresponds to the JSON property `containerVersionId` @return [String]

deleted[RW]

A value of true indicates this container version has been deleted. Corresponds to the JSON property `deleted` @return [Boolean]

deleted?[RW]

A value of true indicates this container version has been deleted. Corresponds to the JSON property `deleted` @return [Boolean]

name[RW]

Container version display name. Corresponds to the JSON property `name` @return [String]

num_macros[RW]

Number of macros in the container version. Corresponds to the JSON property `numMacros` @return [String]

num_rules[RW]

Number of rules in the container version. Corresponds to the JSON property `numRules` @return [String]

num_tags[RW]

Number of tags in the container version. Corresponds to the JSON property `numTags` @return [String]

num_triggers[RW]

Number of triggers in the container version. Corresponds to the JSON property `numTriggers` @return [String]

num_variables[RW]

Number of variables in the container version. Corresponds to the JSON property `numVariables` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/tagmanager_v1/classes.rb, line 400
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# 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