public final class ObjectAccessControl
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Cloud Storage JSON API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
ObjectAccessControl() |
Modifier and Type | Method and Description |
---|---|
ObjectAccessControl |
clone() |
java.lang.String |
getBucket()
The name of the bucket.
|
java.lang.String |
getDomain()
The domain associated with the entity, if any.
|
java.lang.String |
getEmail()
The email address associated with the entity, if any.
|
java.lang.String |
getEntity()
The entity holding the permission, in one of the following forms: - user-userId - user-email
- group-groupId - group-email - domain-domain - allUsers - allAuthenticatedUsers Examples:
- The user [email protected] would be [email protected].
|
java.lang.String |
getEntityId()
The ID for the entity, if any.
|
java.lang.String |
getId()
The ID of the access-control entry.
|
java.lang.String |
getKind()
The kind of item this is.
|
java.lang.String |
getObject()
The name of the object.
|
java.lang.String |
getRole()
The access permission for the entity.
|
java.lang.String |
getSelfLink()
The link to this access-control entry.
|
ObjectAccessControl |
set(java.lang.String fieldName,
java.lang.Object value) |
ObjectAccessControl |
setBucket(java.lang.String bucket)
The name of the bucket.
|
ObjectAccessControl |
setDomain(java.lang.String domain)
The domain associated with the entity, if any.
|
ObjectAccessControl |
setEmail(java.lang.String email)
The email address associated with the entity, if any.
|
ObjectAccessControl |
setEntity(java.lang.String entity)
The entity holding the permission, in one of the following forms: - user-userId - user-email
- group-groupId - group-email - domain-domain - allUsers - allAuthenticatedUsers Examples:
- The user [email protected] would be [email protected].
|
ObjectAccessControl |
setEntityId(java.lang.String entityId)
The ID for the entity, if any.
|
ObjectAccessControl |
setId(java.lang.String id)
The ID of the access-control entry.
|
ObjectAccessControl |
setKind(java.lang.String kind)
The kind of item this is.
|
ObjectAccessControl |
setObject(java.lang.String object__)
The name of the object.
|
ObjectAccessControl |
setRole(java.lang.String role)
The access permission for the entity.
|
ObjectAccessControl |
setSelfLink(java.lang.String selfLink)
The link to this access-control entry.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
public java.lang.String getBucket()
null
for nonepublic ObjectAccessControl setBucket(java.lang.String bucket)
bucket
- bucket or null
for nonepublic java.lang.String getDomain()
null
for nonepublic ObjectAccessControl setDomain(java.lang.String domain)
domain
- domain or null
for nonepublic java.lang.String getEmail()
null
for nonepublic ObjectAccessControl setEmail(java.lang.String email)
email
- email or null
for nonepublic java.lang.String getEntity()
null
for nonepublic ObjectAccessControl setEntity(java.lang.String entity)
entity
- entity or null
for nonepublic java.lang.String getEntityId()
null
for nonepublic ObjectAccessControl setEntityId(java.lang.String entityId)
entityId
- entityId or null
for nonepublic java.lang.String getId()
null
for nonepublic ObjectAccessControl setId(java.lang.String id)
id
- id or null
for nonepublic java.lang.String getKind()
null
for nonepublic ObjectAccessControl setKind(java.lang.String kind)
kind
- kind or null
for nonepublic java.lang.String getObject()
null
for nonepublic ObjectAccessControl setObject(java.lang.String object__)
object__
- object__ or null
for nonepublic java.lang.String getRole()
null
for nonepublic ObjectAccessControl setRole(java.lang.String role)
role
- role or null
for nonepublic java.lang.String getSelfLink()
null
for nonepublic ObjectAccessControl setSelfLink(java.lang.String selfLink)
selfLink
- selfLink or null
for nonepublic ObjectAccessControl set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public ObjectAccessControl clone()
clone
in class com.google.api.client.json.GenericJson