Class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAuditUserLink
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAuditUserLink
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/analyticsadmin_v1alpha/classes.rb,
generated/google/apis/analyticsadmin_v1alpha/representations.rb,
generated/google/apis/analyticsadmin_v1alpha/representations.rb
Overview
Read-only resource used to summarize a principal's effective roles.
Instance Attribute Summary collapse
-
#direct_roles ⇒ Array<String>
Roles directly assigned to this user for this entity.
-
#effective_roles ⇒ Array<String>
Union of all permissions a user has at this account or property (includes direct permissions, group-inherited permissions, etc.).
-
#email_address ⇒ String
Email address of the linked user Corresponds to the JSON property
emailAddress
. -
#name ⇒ String
Example format: properties/1234/userLinks/5678 Corresponds to the JSON property
name
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaAuditUserLink
constructor
A new instance of GoogleAnalyticsAdminV1alphaAuditUserLink.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaAuditUserLink
Returns a new instance of GoogleAnalyticsAdminV1alphaAuditUserLink.
201 202 203 |
# File 'generated/google/apis/analyticsadmin_v1alpha/classes.rb', line 201 def initialize(**args) update!(**args) end |
Instance Attribute Details
#direct_roles ⇒ Array<String>
Roles directly assigned to this user for this entity. Format: predefinedRoles/
read Excludes roles that are inherited from an account (if this is for a
property), group, or organization admin role.
Corresponds to the JSON property directRoles
182 183 184 |
# File 'generated/google/apis/analyticsadmin_v1alpha/classes.rb', line 182 def direct_roles @direct_roles end |
#effective_roles ⇒ Array<String>
Union of all permissions a user has at this account or property (includes
direct permissions, group-inherited permissions, etc.). Format:
predefinedRoles/read
Corresponds to the JSON property effectiveRoles
189 190 191 |
# File 'generated/google/apis/analyticsadmin_v1alpha/classes.rb', line 189 def effective_roles @effective_roles end |
#email_address ⇒ String
Email address of the linked user
Corresponds to the JSON property emailAddress
194 195 196 |
# File 'generated/google/apis/analyticsadmin_v1alpha/classes.rb', line 194 def email_address @email_address end |
#name ⇒ String
Example format: properties/1234/userLinks/5678
Corresponds to the JSON property name
199 200 201 |
# File 'generated/google/apis/analyticsadmin_v1alpha/classes.rb', line 199 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
206 207 208 209 210 211 |
# File 'generated/google/apis/analyticsadmin_v1alpha/classes.rb', line 206 def update!(**args) @direct_roles = args[:direct_roles] if args.key?(:direct_roles) @effective_roles = args[:effective_roles] if args.key?(:effective_roles) @email_address = args[:email_address] if args.key?(:email_address) @name = args[:name] if args.key?(:name) end |