class Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAuditUserLink
Read-only resource used to summarize a principal's effective roles.
Attributes
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` @return [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` @return [Array<String>]
Email address of the linked user Corresponds to the JSON property `emailAddress` @return [String]
Example format: properties/1234/userLinks/5678 Corresponds to the JSON property `name` @return [String]
Public Class Methods
# File lib/google/apis/analyticsadmin_v1alpha/classes.rb, line 257 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/analyticsadmin_v1alpha/classes.rb, line 262 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