Class: Google::Apis::TagmanagerV2::Entity
- Inherits:
-
Object
- Object
- Google::Apis::TagmanagerV2::Entity
- 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
A workspace entity that may represent a tag, trigger, variable, or folder in addition to its status in the workspace.
Instance Attribute Summary collapse
-
#change_status ⇒ String
Represents how the entity has been changed in the workspace.
-
#folder ⇒ Google::Apis::TagmanagerV2::Folder
Represents a Google Tag Manager Folder.
-
#tag ⇒ Google::Apis::TagmanagerV2::Tag
Represents a Google Tag Manager Tag.
-
#trigger ⇒ Google::Apis::TagmanagerV2::Trigger
Represents a Google Tag Manager Trigger Corresponds to the JSON property
trigger
. -
#variable ⇒ Google::Apis::TagmanagerV2::Variable
Represents a Google Tag Manager Variable.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Entity
constructor
A new instance of Entity.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Entity
Returns a new instance of Entity
610 611 612 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 610 def initialize(**args) update!(**args) end |
Instance Attribute Details
#change_status ⇒ String
Represents how the entity has been changed in the workspace.
Corresponds to the JSON property changeStatus
588 589 590 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 588 def change_status @change_status end |
#folder ⇒ Google::Apis::TagmanagerV2::Folder
Represents a Google Tag Manager Folder.
Corresponds to the JSON property folder
593 594 595 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 593 def folder @folder end |
#tag ⇒ Google::Apis::TagmanagerV2::Tag
Represents a Google Tag Manager Tag.
Corresponds to the JSON property tag
598 599 600 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 598 def tag @tag end |
#trigger ⇒ Google::Apis::TagmanagerV2::Trigger
Represents a Google Tag Manager Trigger
Corresponds to the JSON property trigger
603 604 605 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 603 def trigger @trigger end |
#variable ⇒ Google::Apis::TagmanagerV2::Variable
Represents a Google Tag Manager Variable.
Corresponds to the JSON property variable
608 609 610 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 608 def variable @variable end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
615 616 617 618 619 620 621 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 615 def update!(**args) @change_status = args[:change_status] if args.key?(:change_status) @folder = args[:folder] if args.key?(:folder) @tag = args[:tag] if args.key?(:tag) @trigger = args[:trigger] if args.key?(:trigger) @variable = args[:variable] if args.key?(:variable) end |