public final class ObjectAccessControl extends 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 API. For a detailed explanation see: http://code.google.com/p/google-api-java-client/wiki/Json
Upgrade warning: starting with version 1.12 getResponseHeaders()
is removed, instead use
JsonHttpRequest.getLastResponseHeaders()
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
ObjectAccessControl() |
Modifier and Type | Method and Description |
---|---|
String |
getBucket()
The name of the bucket.
|
String |
getDomain()
The domain associated with the entity, if any.
|
String |
getEmail()
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 - allUsers - allAuthenticatedUsers
The value returned may be
null . |
String |
getEntityId()
The ID for the entity, if any.
|
String |
getEtag()
HTTP 1.1 Entity tag for the access-control entry.
|
Long |
getGeneration()
The content generation of the object.
|
String |
getId()
The ID of the access-control entry.
|
String |
getKind()
The kind of item this is.
|
String |
getObject()
The name of the object.
|
String |
getRole()
The access permission for the entity.
|
String |
getSelfLink()
The link to this access-control entry.
|
ObjectAccessControl |
setBucket(String bucket)
The name of the bucket.
|
ObjectAccessControl |
setDomain(String domain)
The domain associated with the entity, if any.
|
ObjectAccessControl |
setEmail(String email)
The email address associated with the entity, if any.
|
ObjectAccessControl |
setEntity(String entity)
The entity holding the permission, in one of the following forms: - user-userId - user-email
- group-groupId - group-email - allUsers - allAuthenticatedUsers
The value set may be
null . |
ObjectAccessControl |
setEntityId(String entityId)
The ID for the entity, if any.
|
ObjectAccessControl |
setEtag(String etag)
HTTP 1.1 Entity tag for the access-control entry.
|
ObjectAccessControl |
setGeneration(Long generation)
The content generation of the object.
|
ObjectAccessControl |
setId(String id)
The ID of the access-control entry.
|
ObjectAccessControl |
setKind(String kind)
The kind of item this is.
|
ObjectAccessControl |
setObject(String storageObject)
The name of the object.
|
ObjectAccessControl |
setRole(String role)
The access permission for the entity.
|
ObjectAccessControl |
setSelfLink(String selfLink)
The link to this access-control entry.
|
clone, getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, set, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public String getBucket()
null
.public ObjectAccessControl setBucket(String bucket)
null
.public String getDomain()
null
.public ObjectAccessControl setDomain(String domain)
null
.public String getEmail()
null
.public ObjectAccessControl setEmail(String email)
null
.public String getEntity()
null
.public ObjectAccessControl setEntity(String entity)
null
.public String getEntityId()
null
.public ObjectAccessControl setEntityId(String entityId)
null
.public String getEtag()
null
.public ObjectAccessControl setEtag(String etag)
null
.public Long getGeneration()
null
.public ObjectAccessControl setGeneration(Long generation)
null
.public String getId()
null
.public ObjectAccessControl setId(String id)
null
.public String getKind()
null
.public ObjectAccessControl setKind(String kind)
null
.public String getObject()
null
.public ObjectAccessControl setObject(String storageObject)
null
.public String getRole()
null
.public ObjectAccessControl setRole(String role)
null
.public String getSelfLink()
null
.public ObjectAccessControl setSelfLink(String selfLink)
null
.