public interface ObjectAccessControlOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
String |
getDomain()
The domain associated with the entity, if any.
|
com.google.protobuf.ByteString |
getDomainBytes()
The domain associated with the entity, if any.
|
String |
getEmail()
The email address associated with the entity, if any.
|
com.google.protobuf.ByteString |
getEmailBytes()
The email address associated with the entity, if any.
|
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`.
|
String |
getEntityAlt()
Output only.
|
com.google.protobuf.ByteString |
getEntityAltBytes()
Output only.
|
com.google.protobuf.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`.
|
String |
getEntityId()
The ID for the entity, if any.
|
com.google.protobuf.ByteString |
getEntityIdBytes()
The ID for the entity, if any.
|
String |
getEtag()
The etag of the ObjectAccessControl.
|
com.google.protobuf.ByteString |
getEtagBytes()
The etag of the ObjectAccessControl.
|
String |
getId()
The ID of the access-control entry.
|
com.google.protobuf.ByteString |
getIdBytes()
The ID of the access-control entry.
|
ProjectTeam |
getProjectTeam()
The project team associated with the entity, if any.
|
ProjectTeamOrBuilder |
getProjectTeamOrBuilder()
The project team associated with the entity, if any.
|
String |
getRole()
The access permission for the entity.
|
com.google.protobuf.ByteString |
getRoleBytes()
The access permission for the entity.
|
boolean |
hasProjectTeam()
The project team associated with the entity, if any.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
String getRole()
The access permission for the entity.
string role = 1;
com.google.protobuf.ByteString getRoleBytes()
The access permission for the entity.
string role = 1;
String getId()
The ID of the access-control entry.
string id = 2;
com.google.protobuf.ByteString getIdBytes()
The ID of the access-control entry.
string id = 2;
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;
com.google.protobuf.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;
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];
com.google.protobuf.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];
String getEntityId()
The ID for the entity, if any.
string entity_id = 4;
com.google.protobuf.ByteString getEntityIdBytes()
The ID for the entity, if any.
string entity_id = 4;
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;
com.google.protobuf.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;
String getEmail()
The email address associated with the entity, if any.
string email = 5;
com.google.protobuf.ByteString getEmailBytes()
The email address associated with the entity, if any.
string email = 5;
String getDomain()
The domain associated with the entity, if any.
string domain = 6;
com.google.protobuf.ByteString getDomainBytes()
The domain associated with the entity, if any.
string domain = 6;
boolean hasProjectTeam()
The project team associated with the entity, if any.
.google.storage.v2.ProjectTeam project_team = 7;
ProjectTeam getProjectTeam()
The project team associated with the entity, if any.
.google.storage.v2.ProjectTeam project_team = 7;
ProjectTeamOrBuilder getProjectTeamOrBuilder()
The project team associated with the entity, if any.
.google.storage.v2.ProjectTeam project_team = 7;
Copyright © 2023 Google LLC. All rights reserved.