Class: Google::Apis::TagmanagerV2::ContainerVersion

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.

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) ⇒ ContainerVersion

Returns a new instance of ContainerVersion



368
369
370
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 368

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

Instance Attribute Details

#account_idString

GTM Account ID. Corresponds to the JSON property accountId

Returns:

  • (String)


293
294
295
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 293

def 
  @account_id
end

#built_in_variableArray<Google::Apis::TagmanagerV2::BuiltInVariable>

The built-in variables in the container that this version was taken from. Corresponds to the JSON property builtInVariable



298
299
300
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 298

def built_in_variable
  @built_in_variable
end

#containerGoogle::Apis::TagmanagerV2::Container

Represents a Google Tag Manager Container, which specifies the platform tags will run on, manages workspaces, and retains container versions. Corresponds to the JSON property container



304
305
306
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 304

def container
  @container
end

#container_idString

GTM Container ID. Corresponds to the JSON property containerId

Returns:

  • (String)


309
310
311
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 309

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)


314
315
316
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 314

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)


319
320
321
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 319

def deleted
  @deleted
end

#descriptionString

Container version description. Corresponds to the JSON property description

Returns:

  • (String)


325
326
327
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 325

def description
  @description
end

#fingerprintString

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

Returns:

  • (String)


331
332
333
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 331

def fingerprint
  @fingerprint
end

#folderArray<Google::Apis::TagmanagerV2::Folder>

The folders in the container that this version was taken from. Corresponds to the JSON property folder



336
337
338
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 336

def folder
  @folder
end

#nameString

Container version display name. Corresponds to the JSON property name

Returns:

  • (String)


341
342
343
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 341

def name
  @name
end

#pathString

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

Returns:

  • (String)


346
347
348
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 346

def path
  @path
end

#tagArray<Google::Apis::TagmanagerV2::Tag>

The tags in the container that this version was taken from. Corresponds to the JSON property tag



351
352
353
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 351

def tag
  @tag
end

#tag_manager_urlString

Auto generated link to the tag manager UI Corresponds to the JSON property tagManagerUrl

Returns:

  • (String)


356
357
358
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 356

def tag_manager_url
  @tag_manager_url
end

#triggerArray<Google::Apis::TagmanagerV2::Trigger>

The triggers in the container that this version was taken from. Corresponds to the JSON property trigger



361
362
363
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 361

def trigger
  @trigger
end

#variableArray<Google::Apis::TagmanagerV2::Variable>

The variables in the container that this version was taken from. Corresponds to the JSON property variable



366
367
368
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 366

def variable
  @variable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 373

def update!(**args)
  @account_id = args[:account_id] if args.key?(:account_id)
  @built_in_variable = args[:built_in_variable] if args.key?(:built_in_variable)
  @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)
  @description = args[:description] if args.key?(:description)
  @fingerprint = args[:fingerprint] if args.key?(:fingerprint)
  @folder = args[:folder] if args.key?(:folder)
  @name = args[:name] if args.key?(:name)
  @path = args[:path] if args.key?(:path)
  @tag = args[:tag] if args.key?(:tag)
  @tag_manager_url = args[:tag_manager_url] if args.key?(:tag_manager_url)
  @trigger = args[:trigger] if args.key?(:trigger)
  @variable = args[:variable] if args.key?(:variable)
end