Show / Hide Table of Contents

Class UserLink

A resource message representing a user's permissions on an Account or Property resource.

Inheritance
System.Object
UserLink
Implements
Google.Protobuf.IMessage<UserLink>
System.IEquatable<UserLink>
Google.Protobuf.IDeepCloneable<UserLink>
Google.Protobuf.IBufferMessage
Google.Protobuf.IMessage
Inherited Members
System.Object.ToString()
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
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/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.

Declaration
public RepeatedField<string> DirectRoles { get; }
Property Value
Type Description
Google.Protobuf.Collections.RepeatedField<System.String>

EmailAddress

Email address of the user to link

Declaration
public string EmailAddress { get; set; }
Property Value
Type Description
System.String

Name

Example format: properties/1234/userLinks/5678

Declaration
public string Name { get; set; }
Property Value
Type Description
System.String

UserLinkName

UserLinkName-typed view over the Name resource name property.

Declaration
public UserLinkName UserLinkName { get; set; }
Property Value
Type Description
UserLinkName
Back to top