Interface BucketAccessControlOrBuilder (2.36.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}-{projectnumber}
  • 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 For project entities, project-{team}-{projectnumber} format will be returned on response.

string entity = 3;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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 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 For project entities, project-{team}-{projectnumber} format will be returned on response.

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.

getEtag()

public abstract String getEtag()

The etag of the BucketAccessControl. If included in the metadata of an update or delete request message, the operation operation will only be performed if the etag matches that of the bucket's BucketAccessControl.

string etag = 8;

Returns
TypeDescription
String

The etag.

getEtagBytes()

public abstract ByteString getEtagBytes()

The etag of the BucketAccessControl. If included in the metadata of an update or delete request message, the operation operation will only be performed if the etag matches that of the bucket's BucketAccessControl.

string etag = 8;

Returns
TypeDescription
ByteString

The bytes for etag.

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.