Class: Google::Apis::TagmanagerV1::Folder

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/tagmanager_v1/classes.rb,
generated/google/apis/tagmanager_v1/representations.rb,
generated/google/apis/tagmanager_v1/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.



631
632
633
# File 'generated/google/apis/tagmanager_v1/classes.rb', line 631

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

Instance Attribute Details

#account_idString

GTM Account ID. Corresponds to the JSON property accountId

Returns:

  • (String)


606
607
608
# File 'generated/google/apis/tagmanager_v1/classes.rb', line 606

def 
  @account_id
end

#container_idString

GTM Container ID. Corresponds to the JSON property containerId

Returns:

  • (String)


611
612
613
# File 'generated/google/apis/tagmanager_v1/classes.rb', line 611

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)


617
618
619
# File 'generated/google/apis/tagmanager_v1/classes.rb', line 617

def fingerprint
  @fingerprint
end

#folder_idString

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

Returns:

  • (String)


622
623
624
# File 'generated/google/apis/tagmanager_v1/classes.rb', line 622

def folder_id
  @folder_id
end

#nameString

Folder display name. Corresponds to the JSON property name

Returns:

  • (String)


629
630
631
# File 'generated/google/apis/tagmanager_v1/classes.rb', line 629

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



636
637
638
639
640
641
642
# File 'generated/google/apis/tagmanager_v1/classes.rb', line 636

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)
end