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

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

Represents a Google Tag Manager Folder.

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

Returns a new instance of Folder



832
833
834
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 832

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

Instance Attribute Details

#account_idString

GTM Account ID. Corresponds to the JSON property accountId

Returns:

  • (String)


789
790
791
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 789

def 
  @account_id
end

#container_idString

GTM Container ID. Corresponds to the JSON property containerId

Returns:

  • (String)


794
795
796
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 794

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)


800
801
802
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 800

def fingerprint
  @fingerprint
end

#folder_idString

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

Returns:

  • (String)


805
806
807
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 805

def folder_id
  @folder_id
end

#nameString

Folder display name. Corresponds to the JSON property name

Returns:

  • (String)


810
811
812
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 810

def name
  @name
end

#notesString

User notes on how to apply this folder in the container. Corresponds to the JSON property notes

Returns:

  • (String)


815
816
817
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 815

def notes
  @notes
end

#pathString

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

Returns:

  • (String)


820
821
822
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 820

def path
  @path
end

#tag_manager_urlString

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

Returns:

  • (String)


825
826
827
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 825

def tag_manager_url
  @tag_manager_url
end

#workspace_idString

GTM Workspace ID. Corresponds to the JSON property workspaceId

Returns:

  • (String)


830
831
832
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 830

def workspace_id
  @workspace_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



837
838
839
840
841
842
843
844
845
846
847
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 837

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