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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/tagmanager_v1/classes.rb,
generated/google/apis/tagmanager_v1/representations.rb,
generated/google/apis/tagmanager_v1/representations.rb

Overview

Represents a Google Tag Manager Folder's contents.

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

Returns a new instance of FolderEntities



614
615
616
# File 'generated/google/apis/tagmanager_v1/classes.rb', line 614

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



602
603
604
# File 'generated/google/apis/tagmanager_v1/classes.rb', line 602

def tag
  @tag
end

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

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



607
608
609
# File 'generated/google/apis/tagmanager_v1/classes.rb', line 607

def trigger
  @trigger
end

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

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



612
613
614
# File 'generated/google/apis/tagmanager_v1/classes.rb', line 612

def variable
  @variable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



619
620
621
622
623
# File 'generated/google/apis/tagmanager_v1/classes.rb', line 619

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