|
||||||||||
| 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.BucketAccessControl
public final class BucketAccessControl
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 | |
|---|---|
BucketAccessControl()
|
|
| Method Summary | |
|---|---|
BucketAccessControl |
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 |
getRole()
The access permission for the entity. |
String |
getSelfLink()
The link to this access-control entry. |
BucketAccessControl |
set(String fieldName,
Object value)
|
BucketAccessControl |
setBucket(String bucket)
The name of the bucket. |
BucketAccessControl |
setDomain(String domain)
The domain associated with the entity, if any. |
BucketAccessControl |
setEmail(String email)
The email address associated with the entity, if any. |
BucketAccessControl |
setEntity(String entity)
The entity holding the permission, in one of the following forms: - user-userId - user-email - group-groupId - group-email - allUsers - allAuthenticatedUsers |
BucketAccessControl |
setEntityId(String entityId)
The ID for the entity, if any. |
BucketAccessControl |
setId(String id)
The ID of the access-control entry. |
BucketAccessControl |
setKind(String kind)
The kind of item this is. |
BucketAccessControl |
setRole(String role)
The access permission for the entity. |
BucketAccessControl |
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 BucketAccessControl()
| Method Detail |
|---|
public String getBucket()
null for nonepublic BucketAccessControl setBucket(String bucket)
bucket - bucket or null for nonepublic String getDomain()
null for nonepublic BucketAccessControl setDomain(String domain)
domain - domain or null for nonepublic String getEmail()
null for nonepublic BucketAccessControl setEmail(String email)
email - email or null for nonepublic String getEntity()
null for nonepublic BucketAccessControl setEntity(String entity)
entity - entity or null for nonepublic String getEntityId()
null for nonepublic BucketAccessControl setEntityId(String entityId)
entityId - entityId or null for nonepublic String getId()
null for nonepublic BucketAccessControl setId(String id)
id - id or null for nonepublic String getKind()
null for nonepublic BucketAccessControl setKind(String kind)
kind - kind or null for nonepublic String getRole()
null for nonepublic BucketAccessControl setRole(String role)
role - role or null for nonepublic String getSelfLink()
null for nonepublic BucketAccessControl setSelfLink(String selfLink)
selfLink - selfLink or null for none
public BucketAccessControl set(String fieldName,
Object value)
set in class GenericJsonpublic BucketAccessControl clone()
clone in class GenericJson
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||