Class: Google::Apis::TagmanagerV1::FolderEntities

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 Folder's contents.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ FolderEntities

Returns a new instance of FolderEntities.



638
639
640
# File 'lib/google/apis/tagmanager_v1/classes.rb', line 638

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

Instance Attribute Details

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

The list of tags inside the folder. Corresponds to the JSON property tag



626
627
628
# File 'lib/google/apis/tagmanager_v1/classes.rb', line 626

def tag
  @tag
end

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

The list of triggers inside the folder. Corresponds to the JSON property trigger



631
632
633
# File 'lib/google/apis/tagmanager_v1/classes.rb', line 631

def trigger
  @trigger
end

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

The list of variables inside the folder. Corresponds to the JSON property variable



636
637
638
# File 'lib/google/apis/tagmanager_v1/classes.rb', line 636

def variable
  @variable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



643
644
645
646
647
# File 'lib/google/apis/tagmanager_v1/classes.rb', line 643

def update!(**args)
  @tag = args[:tag] if args.key?(:tag)
  @trigger = args[:trigger] if args.key?(:trigger)
  @variable = args[:variable] if args.key?(:variable)
end