Class: Google::Apis::TagmanagerV2::Entity
- Inherits:
-
Object
- Object
- Google::Apis::TagmanagerV2::Entity
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/tagmanager_v2/classes.rb,
lib/google/apis/tagmanager_v2/representations.rb,
lib/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.
-
#client ⇒ Google::Apis::TagmanagerV2::Client
The client being represented by the entity.
-
#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.
Constructor Details
#initialize(**args) ⇒ Entity
Returns a new instance of Entity.
818 819 820 |
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 818 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
791 792 793 |
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 791 def change_status @change_status end |
#client ⇒ Google::Apis::TagmanagerV2::Client
The client being represented by the entity.
Corresponds to the JSON property client
796 797 798 |
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 796 def client @client end |
#folder ⇒ Google::Apis::TagmanagerV2::Folder
Represents a Google Tag Manager Folder.
Corresponds to the JSON property folder
801 802 803 |
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 801 def folder @folder end |
#tag ⇒ Google::Apis::TagmanagerV2::Tag
Represents a Google Tag Manager Tag.
Corresponds to the JSON property tag
806 807 808 |
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 806 def tag @tag end |
#trigger ⇒ Google::Apis::TagmanagerV2::Trigger
Represents a Google Tag Manager Trigger
Corresponds to the JSON property trigger
811 812 813 |
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 811 def trigger @trigger end |
#variable ⇒ Google::Apis::TagmanagerV2::Variable
Represents a Google Tag Manager Variable.
Corresponds to the JSON property variable
816 817 818 |
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 816 def variable @variable end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
823 824 825 826 827 828 829 830 |
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 823 def update!(**args) @change_status = args[:change_status] if args.key?(:change_status) @client = args[:client] if args.key?(:client) @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 |