Interface ObjectAccessControlOrBuilder (2.6.1)

public interface ObjectAccessControlOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

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-projectid}
  • allUsers
  • allAuthenticatedUsers Examples:
  • The user liz@example.com would be user-liz@example.com.
  • The group example@googlegroups.com would be group-example@googlegroups.com.
  • All members of the Google Apps for Business domain example.com would be domain-example.com.

string entity = 3;

Returns
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 be user-liz@example.com.
  • The group example@googlegroups.com would be group-example@googlegroups.com.
  • All members of the Google Apps for Business domain example.com would be domain-example.com.

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.

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.