Interface UserLinkOrBuilder (0.17.0)

public interface UserLinkOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDirectRoles(int index)

public abstract String getDirectRoles(int index)

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.

repeated string direct_roles = 3;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The directRoles at the given index.

getDirectRolesBytes(int index)

public abstract ByteString getDirectRolesBytes(int index)

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.

repeated string direct_roles = 3;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the directRoles at the given index.

getDirectRolesCount()

public abstract int getDirectRolesCount()

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.

repeated string direct_roles = 3;

Returns
TypeDescription
int

The count of directRoles.

getDirectRolesList()

public abstract List<String> getDirectRolesList()

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.

repeated string direct_roles = 3;

Returns
TypeDescription
List<String>

A list containing the directRoles.

getEmailAddress()

public abstract String getEmailAddress()

Immutable. Email address of the user to link

string email_address = 2 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
String

The emailAddress.

getEmailAddressBytes()

public abstract ByteString getEmailAddressBytes()

Immutable. Email address of the user to link

string email_address = 2 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
ByteString

The bytes for emailAddress.

getName()

public abstract String getName()

Output only. Example format: properties/1234/userLinks/5678

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Output only. Example format: properties/1234/userLinks/5678

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for name.