Class: Google::Apis::TagmanagerV1::Folder
- Inherits:
-
Object
- Object
- Google::Apis::TagmanagerV1::Folder
- 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
-
#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.
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.
605 606 607 |
# File 'generated/google/apis/tagmanager_v1/classes.rb', line 605 def initialize(**args) update!(**args) end |
Instance Attribute Details
#account_id ⇒ String
GTM Account ID.
Corresponds to the JSON property accountId
581 582 583 |
# File 'generated/google/apis/tagmanager_v1/classes.rb', line 581 def account_id @account_id end |
#container_id ⇒ String
GTM Container ID.
Corresponds to the JSON property containerId
586 587 588 |
# File 'generated/google/apis/tagmanager_v1/classes.rb', line 586 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
592 593 594 |
# File 'generated/google/apis/tagmanager_v1/classes.rb', line 592 def fingerprint @fingerprint end |
#folder_id ⇒ String
The Folder ID uniquely identifies the GTM Folder.
Corresponds to the JSON property folderId
597 598 599 |
# File 'generated/google/apis/tagmanager_v1/classes.rb', line 597 def folder_id @folder_id end |
#name ⇒ String
Folder display name. @mutable tagmanager.accounts.containers.folders.create @
mutable tagmanager.accounts.containers.folders.update
Corresponds to the JSON property name
603 604 605 |
# File 'generated/google/apis/tagmanager_v1/classes.rb', line 603 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
610 611 612 613 614 615 616 |
# File 'generated/google/apis/tagmanager_v1/classes.rb', line 610 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 |