public interface ObjectAccessControlOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getDomain()
public abstract String getDomain()
The domain associated with the entity, if any.
string domain = 6;
Type | Description |
String | The domain. |
getDomainBytes()
public abstract ByteString getDomainBytes()
The domain associated with the entity, if any.
string domain = 6;
Type | Description |
ByteString | The bytes for domain. |
getEmail()
public abstract String getEmail()
The email address associated with the entity, if any.
string email = 5;
Type | Description |
String | The email. |
getEmailBytes()
public abstract ByteString getEmailBytes()
The email address associated with the entity, if any.
string email = 5;
Type | Description |
ByteString | The bytes for email. |
getEntity()
public abstract String getEntity()
The entity holding the permission, in one of the following forms:
user-{userid}
user-{email}
group-{groupid}
group-{email}
domain-{domain}
project-{team-projectid}
allUsers
allAuthenticatedUsers
Examples:- The user
liz@example.com
would beuser-liz@example.com
. - The group
example@googlegroups.com
would begroup-example@googlegroups.com
. - All members of the Google Apps for Business domain
example.com
would bedomain-example.com
.
string entity = 3;
Type | Description |
String | The entity. |
getEntityBytes()
public abstract ByteString getEntityBytes()
The entity holding the permission, in one of the following forms:
user-{userid}
user-{email}
group-{groupid}
group-{email}
domain-{domain}
project-{team-projectid}
allUsers
allAuthenticatedUsers
Examples:- The user
liz@example.com
would beuser-liz@example.com
. - The group
example@googlegroups.com
would begroup-example@googlegroups.com
. - All members of the Google Apps for Business domain
example.com
would bedomain-example.com
.
string entity = 3;
Type | Description |
ByteString | The bytes for entity. |
getEntityId()
public abstract String getEntityId()
The ID for the entity, if any.
string entity_id = 4;
Type | Description |
String | The entityId. |
getEntityIdBytes()
public abstract ByteString getEntityIdBytes()
The ID for the entity, if any.
string entity_id = 4;
Type | Description |
ByteString | The bytes for entityId. |
getId()
public abstract String getId()
The ID of the access-control entry.
string id = 2;
Type | Description |
String | The id. |
getIdBytes()
public abstract ByteString getIdBytes()
The ID of the access-control entry.
string id = 2;
Type | Description |
ByteString | The bytes for id. |
getProjectTeam()
public abstract ProjectTeam getProjectTeam()
The project team associated with the entity, if any.
.google.storage.v2.ProjectTeam project_team = 7;
Type | Description |
ProjectTeam | The projectTeam. |
getProjectTeamOrBuilder()
public abstract ProjectTeamOrBuilder getProjectTeamOrBuilder()
The project team associated with the entity, if any.
.google.storage.v2.ProjectTeam project_team = 7;
Type | Description |
ProjectTeamOrBuilder |
getRole()
public abstract String getRole()
The access permission for the entity.
string role = 1;
Type | Description |
String | The role. |
getRoleBytes()
public abstract ByteString getRoleBytes()
The access permission for the entity.
string role = 1;
Type | Description |
ByteString | The bytes for role. |
hasProjectTeam()
public abstract boolean hasProjectTeam()
The project team associated with the entity, if any.
.google.storage.v2.ProjectTeam project_team = 7;
Type | Description |
boolean | Whether the projectTeam field is set. |