Class UserLink
A resource message representing a user's permissions on an Account or Property resource.
Namespace: Google.Analytics.Admin.V1Alpha
Assembly: Google.Analytics.Admin.V1Alpha.dll
Syntax
public sealed class UserLink : IMessage<UserLink>, IEquatable<UserLink>, IDeepCloneable<UserLink>, IBufferMessage, IMessage
Constructors
UserLink()
Declaration
public UserLink()
UserLink(UserLink)
Declaration
public UserLink(UserLink other)
Parameters
Type | Name | Description |
---|---|---|
UserLink | other |
Properties
DirectRoles
Roles directly assigned to this user for this account or property.
Valid values: predefinedRoles/viewer predefinedRoles/analyst predefinedRoles/editor predefinedRoles/admin predefinedRoles/no-cost-data predefinedRoles/no-revenue-data
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.
Declaration
public RepeatedField<string> DirectRoles { get; }
Property Value
Type | Description |
---|---|
RepeatedField<string> |
EmailAddress
Immutable. Email address of the user to link
Declaration
public string EmailAddress { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
Output only. Example format: properties/1234/userLinks/5678
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
UserLinkName
UserLinkName-typed view over the Name resource name property.
Declaration
public UserLinkName UserLinkName { get; set; }
Property Value
Type | Description |
---|---|
UserLinkName |