public final class BucketAccessControl 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 |
---|
BucketAccessControl() |
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 |
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 |
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
The value set may be
null . |
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.
|
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 BucketAccessControl setBucket(String bucket)
null
.public String getDomain()
null
.public BucketAccessControl setDomain(String domain)
null
.public String getEmail()
null
.public BucketAccessControl setEmail(String email)
null
.public String getEntity()
null
.public BucketAccessControl setEntity(String entity)
null
.public String getEntityId()
null
.public BucketAccessControl setEntityId(String entityId)
null
.public String getId()
null
.public BucketAccessControl setId(String id)
null
.public String getKind()
null
.public BucketAccessControl setKind(String kind)
null
.public String getRole()
null
.public BucketAccessControl setRole(String role)
null
.public String getSelfLink()
null
.public BucketAccessControl setSelfLink(String selfLink)
null
.