Class: Google::Apis::AnalyticsV3::EntityUserLink::Permissions
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsV3::EntityUserLink::Permissions
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/analytics_v3/classes.rb,
generated/google/apis/analytics_v3/representations.rb,
generated/google/apis/analytics_v3/representations.rb
Overview
Permissions the user has for this entity.
Instance Attribute Summary collapse
-
#effective ⇒ Array<String>
Effective permissions represent all the permissions that a user has for this entity.
-
#local ⇒ Array<String>
Permissions that a user has been assigned at this very level.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Permissions
constructor
A new instance of Permissions.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Permissions
Returns a new instance of Permissions
1380 1381 1382 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 1380 def initialize(**args) update!(**args) end |
Instance Attribute Details
#effective ⇒ Array<String>
Effective permissions represent all the permissions that a user has for this
entity. These include any implied permissions (e.g., EDIT implies VIEW) or
inherited permissions from the parent entity. Effective permissions are read-
only.
Corresponds to the JSON property effective
1372 1373 1374 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 1372 def effective @effective end |
#local ⇒ Array<String>
Permissions that a user has been assigned at this very level. Does not include
any implied or inherited permissions. Local permissions are modifiable.
Corresponds to the JSON property local
1378 1379 1380 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 1378 def local @local end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1385 1386 1387 1388 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 1385 def update!(**args) @effective = args[:effective] if args.key?(:effective) @local = args[:local] if args.key?(:local) end |