Class: Google::Apis::TagmanagerV2::Folder

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Folder

Returns a new instance of Folder.



1225
1226
1227
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 1225

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

Instance Attribute Details

#account_idString

GTM Account ID. Corresponds to the JSON property accountId

Returns:

  • (String)


1178
1179
1180
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 1178

def 
  @account_id
end

#container_idString

GTM Container ID. Corresponds to the JSON property containerId

Returns:

  • (String)


1183
1184
1185
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 1183

def container_id
  @container_id
end

#fingerprintString

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

Returns:

  • (String)


1189
1190
1191
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 1189

def fingerprint
  @fingerprint
end

#folder_idString

The Folder ID uniquely identifies the GTM Folder. Corresponds to the JSON property folderId

Returns:

  • (String)


1194
1195
1196
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 1194

def folder_id
  @folder_id
end

#nameString

Folder display name. @mutable tagmanager.accounts.containers.workspaces. folders.create @mutable tagmanager.accounts.containers.workspaces.folders. update Corresponds to the JSON property name

Returns:

  • (String)


1201
1202
1203
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 1201

def name
  @name
end

#notesString

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

Returns:

  • (String)


1208
1209
1210
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 1208

def notes
  @notes
end

#pathString

GTM Folder's API relative path. Corresponds to the JSON property path

Returns:

  • (String)


1213
1214
1215
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 1213

def path
  @path
end

#tag_manager_urlString

Auto generated link to the tag manager UI Corresponds to the JSON property tagManagerUrl

Returns:

  • (String)


1218
1219
1220
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 1218

def tag_manager_url
  @tag_manager_url
end

#workspace_idString

GTM Workspace ID. Corresponds to the JSON property workspaceId

Returns:

  • (String)


1223
1224
1225
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 1223

def workspace_id
  @workspace_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 1230

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