|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.AbstractMap<String,Object>
com.google.api.client.util.GenericData
com.google.api.client.json.GenericJson
com.google.api.services.storage.model.ObjectAccessControl
public final class ObjectAccessControl
An access-control entry.
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
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.google.api.client.util.GenericData |
|---|
GenericData.Flags |
| Nested classes/interfaces inherited from class java.util.AbstractMap |
|---|
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V> |
| Nested classes/interfaces inherited from interface java.util.Map |
|---|
Map.Entry<K,V> |
| Constructor Summary | |
|---|---|
ObjectAccessControl()
|
|
| Method Summary | |
|---|---|
ObjectAccessControl |
clone()
|
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 |
String |
getEntityId()
The ID for the entity, if any. |
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 |
set(String fieldName,
Object value)
|
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 |
ObjectAccessControl |
setEntityId(String entityId)
The ID for the entity, if any. |
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. |
| Methods inherited from class com.google.api.client.json.GenericJson |
|---|
getFactory, setFactory, toPrettyString, toString |
| Methods inherited from class com.google.api.client.util.GenericData |
|---|
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys |
| Methods inherited from class java.util.AbstractMap |
|---|
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ObjectAccessControl()
| Method Detail |
|---|
public String getBucket()
null for nonepublic ObjectAccessControl setBucket(String bucket)
bucket - bucket or null for nonepublic String getDomain()
null for nonepublic ObjectAccessControl setDomain(String domain)
domain - domain or null for nonepublic String getEmail()
null for nonepublic ObjectAccessControl setEmail(String email)
email - email or null for nonepublic String getEntity()
null for nonepublic ObjectAccessControl setEntity(String entity)
entity - entity or null for nonepublic String getEntityId()
null for nonepublic ObjectAccessControl setEntityId(String entityId)
entityId - entityId or null for nonepublic String getId()
null for nonepublic ObjectAccessControl setId(String id)
id - id or null for nonepublic String getKind()
null for nonepublic ObjectAccessControl setKind(String kind)
kind - kind or null for nonepublic String getObject()
null for nonepublic ObjectAccessControl setObject(String storageObject)
storageObject - storageObject or null for nonepublic String getRole()
null for nonepublic ObjectAccessControl setRole(String role)
role - role or null for nonepublic String getSelfLink()
null for nonepublic ObjectAccessControl setSelfLink(String selfLink)
selfLink - selfLink or null for none
public ObjectAccessControl set(String fieldName,
Object value)
set in class GenericJsonpublic ObjectAccessControl clone()
clone in class GenericJson
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||