Class: Google::Apis::TagmanagerV1::Account
- Inherits:
-
Object
- Object
- Google::Apis::TagmanagerV1::Account
- 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 Account.
Instance Attribute Summary collapse
-
#account_id ⇒ String
The Account ID uniquely identifies the GTM Account.
-
#fingerprint ⇒ String
The fingerprint of the GTM Account as computed at storage time.
-
#name ⇒ String
Account display name.
-
#share_data ⇒ Boolean
(also: #share_data?)
Whether the account shares data anonymously with Google and others.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Account
constructor
A new instance of Account.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Account
Returns a new instance of Account.
53 54 55 |
# File 'generated/google/apis/tagmanager_v1/classes.rb', line 53 def initialize(**args) update!(**args) end |
Instance Attribute Details
#account_id ⇒ String
The Account ID uniquely identifies the GTM Account.
Corresponds to the JSON property accountId
32 33 34 |
# File 'generated/google/apis/tagmanager_v1/classes.rb', line 32 def account_id @account_id end |
#fingerprint ⇒ String
The fingerprint of the GTM Account as computed at storage time. This value is
recomputed whenever the account is modified.
Corresponds to the JSON property fingerprint
38 39 40 |
# File 'generated/google/apis/tagmanager_v1/classes.rb', line 38 def fingerprint @fingerprint end |
#name ⇒ String
Account display name. @mutable tagmanager.accounts.create @mutable tagmanager.
accounts.update
Corresponds to the JSON property name
44 45 46 |
# File 'generated/google/apis/tagmanager_v1/classes.rb', line 44 def name @name end |
#share_data ⇒ Boolean Also known as:
Whether the account shares data anonymously with Google and others. @mutable
tagmanager.accounts.create @mutable tagmanager.accounts.update
Corresponds to the JSON property shareData
50 51 52 |
# File 'generated/google/apis/tagmanager_v1/classes.rb', line 50 def share_data @share_data end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
58 59 60 61 62 63 |
# File 'generated/google/apis/tagmanager_v1/classes.rb', line 58 def update!(**args) @account_id = args[:account_id] if args.key?(:account_id) @fingerprint = args[:fingerprint] if args.key?(:fingerprint) @name = args[:name] if args.key?(:name) @share_data = args[:share_data] if args.key?(:share_data) end |