class Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink
A resource message representing a user's permissions on an Account or Property resource.
Attributes
Roles directly assigned to this user for this account or property. Valid values: predefinedRoles/read predefinedRoles/collaborate predefinedRoles/edit predefinedRoles/manage-users Excludes roles that are inherited from a higher- level entity, group, or organization admin role. A UserLink that is updated to have an empty list of direct_roles
will be deleted. Corresponds to the JSON property `directRoles` @return [Array<String>]
Immutable. Email address of the user to link Corresponds to the JSON property `emailAddress` @return [String]
Output only. 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 2208 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/analyticsadmin_v1alpha/classes.rb, line 2213 def update!(**args) @direct_roles = args[:direct_roles] if args.key?(:direct_roles) @email_address = args[:email_address] if args.key?(:email_address) @name = args[:name] if args.key?(:name) end