public interface UserLinkOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
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 | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |