public interface ObjectAccessControlOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getDomain()
public abstract String getDomain()
The domain associated with the entity, if any.
string domain = 6;
Returns | |
---|---|
Type | Description |
String |
The domain. |
getDomainBytes()
public abstract ByteString getDomainBytes()
The domain associated with the entity, if any.
string domain = 6;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for domain. |
getEmail()
public abstract String getEmail()
The email address associated with the entity, if any.
string email = 5;
Returns | |
---|---|
Type | Description |
String |
The email. |
getEmailBytes()
public abstract ByteString getEmailBytes()
The email address associated with the entity, if any.
string email = 5;
Returns | |
---|---|
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}-{projectnumber}
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
. For project entities,project-{team}-{projectnumber}
format will be returned on response.
string entity = 3;
Returns | |
---|---|
Type | Description |
String |
The entity. |
getEntityAlt()
public abstract String getEntityAlt()
Output only. The alternative entity format, if exists. For project
entities, project-{team}-{projectid}
format will be returned on response.
string entity_alt = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
String |
The entityAlt. |
getEntityAltBytes()
public abstract ByteString getEntityAltBytes()
Output only. The alternative entity format, if exists. For project
entities, project-{team}-{projectid}
format will be returned on response.
string entity_alt = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for entityAlt. |
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}-{projectnumber}
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
. For project entities,project-{team}-{projectnumber}
format will be returned on response.
string entity = 3;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for entity. |
getEntityId()
public abstract String getEntityId()
The ID for the entity, if any.
string entity_id = 4;
Returns | |
---|---|
Type | Description |
String |
The entityId. |
getEntityIdBytes()
public abstract ByteString getEntityIdBytes()
The ID for the entity, if any.
string entity_id = 4;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for entityId. |
getEtag()
public abstract String getEtag()
The etag of the ObjectAccessControl. If included in the metadata of an update or delete request message, the operation will only be performed if the etag matches that of the live object's ObjectAccessControl.
string etag = 8;
Returns | |
---|---|
Type | Description |
String |
The etag. |
getEtagBytes()
public abstract ByteString getEtagBytes()
The etag of the ObjectAccessControl. If included in the metadata of an update or delete request message, the operation will only be performed if the etag matches that of the live object's ObjectAccessControl.
string etag = 8;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for etag. |
getId()
public abstract String getId()
The ID of the access-control entry.
string id = 2;
Returns | |
---|---|
Type | Description |
String |
The id. |
getIdBytes()
public abstract ByteString getIdBytes()
The ID of the access-control entry.
string id = 2;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
ProjectTeamOrBuilder |
getRole()
public abstract String getRole()
The access permission for the entity.
string role = 1;
Returns | |
---|---|
Type | Description |
String |
The role. |
getRoleBytes()
public abstract ByteString getRoleBytes()
The access permission for the entity.
string role = 1;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
boolean |
Whether the projectTeam field is set. |