Class: Google::Apis::TagmanagerV2::Folder
- Inherits:
-
Object
- Object
- Google::Apis::TagmanagerV2::Folder
- 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
Represents a Google Tag Manager Folder.
Instance Attribute Summary collapse
-
#account_id ⇒ String
GTM Account ID.
-
#container_id ⇒ String
GTM Container ID.
-
#fingerprint ⇒ String
The fingerprint of the GTM Folder as computed at storage time.
-
#folder_id ⇒ String
The Folder ID uniquely identifies the GTM Folder.
-
#name ⇒ String
Folder display name.
-
#notes ⇒ String
User notes on how to apply this folder in the container.
-
#path ⇒ String
GTM Folder's API relative path.
-
#tag_manager_url ⇒ String
Auto generated link to the tag manager UI Corresponds to the JSON property
tagManagerUrl. -
#workspace_id ⇒ String
GTM Workspace ID.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Folder
constructor
A new instance of Folder.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Folder
Returns a new instance of Folder.
1233 1234 1235 |
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 1233 def initialize(**args) update!(**args) end |
Instance Attribute Details
#account_id ⇒ String
GTM Account ID.
Corresponds to the JSON property accountId
1186 1187 1188 |
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 1186 def account_id @account_id end |
#container_id ⇒ String
GTM Container ID.
Corresponds to the JSON property containerId
1191 1192 1193 |
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 1191 def container_id @container_id end |
#fingerprint ⇒ String
The fingerprint of the GTM Folder as computed at storage time. This value is
recomputed whenever the folder is modified.
Corresponds to the JSON property fingerprint
1197 1198 1199 |
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 1197 def fingerprint @fingerprint end |
#folder_id ⇒ String
The Folder ID uniquely identifies the GTM Folder.
Corresponds to the JSON property folderId
1202 1203 1204 |
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 1202 def folder_id @folder_id end |
#name ⇒ String
Folder display name. @mutable tagmanager.accounts.containers.workspaces.
folders.create @mutable tagmanager.accounts.containers.workspaces.folders.
update
Corresponds to the JSON property name
1209 1210 1211 |
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 1209 def name @name end |
#notes ⇒ String
User notes on how to apply this folder in the container. @mutable tagmanager.
accounts.containers.workspaces.folders.create @mutable tagmanager.accounts.
containers.workspaces.folders.update
Corresponds to the JSON property notes
1216 1217 1218 |
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 1216 def notes @notes end |
#path ⇒ String
GTM Folder's API relative path.
Corresponds to the JSON property path
1221 1222 1223 |
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 1221 def path @path end |
#tag_manager_url ⇒ String
Auto generated link to the tag manager UI
Corresponds to the JSON property tagManagerUrl
1226 1227 1228 |
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 1226 def tag_manager_url @tag_manager_url end |
#workspace_id ⇒ String
GTM Workspace ID.
Corresponds to the JSON property workspaceId
1231 1232 1233 |
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 1231 def workspace_id @workspace_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 |
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 1238 def update!(**args) @account_id = args[:account_id] if args.key?(:account_id) @container_id = args[:container_id] if args.key?(:container_id) @fingerprint = args[:fingerprint] if args.key?(:fingerprint) @folder_id = args[:folder_id] if args.key?(:folder_id) @name = args[:name] if args.key?(:name) @notes = args[:notes] if args.key?(:notes) @path = args[:path] if args.key?(:path) @tag_manager_url = args[:tag_manager_url] if args.key?(:tag_manager_url) @workspace_id = args[:workspace_id] if args.key?(:workspace_id) end |