class Google::Apis::TagmanagerV1::ContainerVersion

Represents a Google Tag Manager Container Version.

Attributes

account_id[RW]

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

container[RW]

Represents a Google Tag Manager Container. Corresponds to the JSON property `container` @return [Google::Apis::TagmanagerV1::Container]

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]

fingerprint[RW]

The fingerprint of the GTM Container Version as computed at storage time. This value is recomputed whenever the container version is modified. Corresponds to the JSON property `fingerprint` @return [String]

folder[RW]

The folders in the container that this version was taken from. Corresponds to the JSON property `folder` @return [Array<Google::Apis::TagmanagerV1::Folder>]

macro[RW]

The macros in the container that this version was taken from. Corresponds to the JSON property `macro` @return [Array<Google::Apis::TagmanagerV1::Macro>]

name[RW]

Container version display name. @mutable tagmanager.accounts.containers. versions.update Corresponds to the JSON property `name` @return [String]

notes[RW]

User notes on how to apply this container version in the container. @mutable tagmanager.accounts.containers.versions.update Corresponds to the JSON property `notes` @return [String]

rule[RW]

The rules in the container that this version was taken from. Corresponds to the JSON property `rule` @return [Array<Google::Apis::TagmanagerV1::Rule>]

tag[RW]

The tags in the container that this version was taken from. Corresponds to the JSON property `tag` @return [Array<Google::Apis::TagmanagerV1::Tag>]

trigger[RW]

The triggers in the container that this version was taken from. Corresponds to the JSON property `trigger` @return [Array<Google::Apis::TagmanagerV1::Trigger>]

variable[RW]

The variables in the container that this version was taken from. Corresponds to the JSON property `variable` @return [Array<Google::Apis::TagmanagerV1::Variable>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/tagmanager_v1/classes.rb, line 322
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 327
def update!(**args)
  @account_id = args[:account_id] if args.key?(:account_id)
  @container = args[:container] if args.key?(:container)
  @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)
  @fingerprint = args[:fingerprint] if args.key?(:fingerprint)
  @folder = args[:folder] if args.key?(:folder)
  @macro = args[:macro] if args.key?(:macro)
  @name = args[:name] if args.key?(:name)
  @notes = args[:notes] if args.key?(:notes)
  @rule = args[:rule] if args.key?(:rule)
  @tag = args[:tag] if args.key?(:tag)
  @trigger = args[:trigger] if args.key?(:trigger)
  @variable = args[:variable] if args.key?(:variable)
end