Interface BucketAccessControlOrBuilder (2.6.1)

public interface BucketAccessControlOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDomain()

public abstract String getDomain()

The domain associated with the entity, if any.

string domain = 6;

Returns
TypeDescription
String

The domain.

getDomainBytes()

public abstract ByteString getDomainBytes()

The domain associated with the entity, if any.

string domain = 6;

Returns
TypeDescription
ByteString

The bytes for domain.

getEmail()

public abstract String getEmail()

The email address associated with the entity, if any.

string email = 5;

Returns
TypeDescription
String

The email.

getEmailBytes()

public abstract ByteString getEmailBytes()

The email address associated with the entity, if any.

string email = 5;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for entity.

getEntityId()

public abstract String getEntityId()

The ID for the entity, if any.

string entity_id = 4;

Returns
TypeDescription
String

The entityId.

getEntityIdBytes()

public abstract ByteString getEntityIdBytes()

The ID for the entity, if any.

string entity_id = 4;

Returns
TypeDescription
ByteString

The bytes for entityId.

getId()

public abstract String getId()

The ID of the access-control entry.

string id = 2;

Returns
TypeDescription
String

The id.

getIdBytes()

public abstract ByteString getIdBytes()

The ID of the access-control entry.

string id = 2;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ProjectTeamOrBuilder

getRole()

public abstract String getRole()

The access permission for the entity.

string role = 1;

Returns
TypeDescription
String

The role.

getRoleBytes()

public abstract ByteString getRoleBytes()

The access permission for the entity.

string role = 1;

Returns
TypeDescription
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
TypeDescription
boolean

Whether the projectTeam field is set.