Class: Google::Apis::AnalyticsV3::Account::Permissions
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsV3::Account::Permissions
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/analytics_v3/classes.rb,
lib/google/apis/analytics_v3/representations.rb,
lib/google/apis/analytics_v3/representations.rb
Overview
Permissions the user has for this account.
Instance Attribute Summary collapse
-
#effective ⇒ Array<String>
All the permissions that the user has for this account.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Permissions
constructor
A new instance of Permissions.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Permissions
Returns a new instance of Permissions.
129 130 131 |
# File 'lib/google/apis/analytics_v3/classes.rb', line 129 def initialize(**args) update!(**args) end |
Instance Attribute Details
#effective ⇒ Array<String>
All the permissions that the user has for this account. These include any
implied permissions (e.g., EDIT implies VIEW).
Corresponds to the JSON property effective
127 128 129 |
# File 'lib/google/apis/analytics_v3/classes.rb', line 127 def effective @effective end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
134 135 136 |
# File 'lib/google/apis/analytics_v3/classes.rb', line 134 def update!(**args) @effective = args[:effective] if args.key?(:effective) end |