Class: Google::Apis::TagmanagerV2::AccountAccess
- Inherits:
-
Object
- Object
- Google::Apis::TagmanagerV2::AccountAccess
- 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
Defines the Google Tag Manager Account access permissions.
Instance Attribute Summary collapse
-
#permission ⇒ String
Whether the user has no access, user access, or admin access to an account.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AccountAccess
constructor
A new instance of AccountAccess.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AccountAccess
Returns a new instance of AccountAccess.
99 100 101 |
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 99 def initialize(**args) update!(**args) end |
Instance Attribute Details
#permission ⇒ String
Whether the user has no access, user access, or admin access to an account. @
mutable tagmanager.accounts.permissions.create @mutable tagmanager.accounts.
permissions.update
Corresponds to the JSON property permission
97 98 99 |
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 97 def @permission end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
104 105 106 |
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 104 def update!(**args) @permission = args[:permission] if args.key?(:permission) end |