public final class BucketAccessControl
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 |
---|
BucketAccessControl() |
Modifier and Type | Method and Description |
---|---|
BucketAccessControl |
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 |
getRole()
The access permission for the entity.
|
java.lang.String |
getSelfLink()
The link to this access-control entry.
|
BucketAccessControl |
set(java.lang.String fieldName,
java.lang.Object value) |
BucketAccessControl |
setBucket(java.lang.String bucket)
The name of the bucket.
|
BucketAccessControl |
setDomain(java.lang.String domain)
The domain associated with the entity, if any.
|
BucketAccessControl |
setEmail(java.lang.String email)
The email address associated with the entity, if any.
|
BucketAccessControl |
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].
|
BucketAccessControl |
setEntityId(java.lang.String entityId)
The ID for the entity, if any.
|
BucketAccessControl |
setId(java.lang.String id)
The ID of the access-control entry.
|
BucketAccessControl |
setKind(java.lang.String kind)
The kind of item this is.
|
BucketAccessControl |
setRole(java.lang.String role)
The access permission for the entity.
|
BucketAccessControl |
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 BucketAccessControl setBucket(java.lang.String bucket)
bucket
- bucket or null
for nonepublic java.lang.String getDomain()
null
for nonepublic BucketAccessControl setDomain(java.lang.String domain)
domain
- domain or null
for nonepublic java.lang.String getEmail()
null
for nonepublic BucketAccessControl setEmail(java.lang.String email)
email
- email or null
for nonepublic java.lang.String getEntity()
null
for nonepublic BucketAccessControl setEntity(java.lang.String entity)
entity
- entity or null
for nonepublic java.lang.String getEntityId()
null
for nonepublic BucketAccessControl setEntityId(java.lang.String entityId)
entityId
- entityId or null
for nonepublic java.lang.String getId()
null
for nonepublic BucketAccessControl setId(java.lang.String id)
id
- id or null
for nonepublic java.lang.String getKind()
null
for nonepublic BucketAccessControl setKind(java.lang.String kind)
kind
- kind or null
for nonepublic java.lang.String getRole()
null
for nonepublic BucketAccessControl setRole(java.lang.String role)
role
- role or null
for nonepublic java.lang.String getSelfLink()
null
for nonepublic BucketAccessControl setSelfLink(java.lang.String selfLink)
selfLink
- selfLink or null
for nonepublic BucketAccessControl set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public BucketAccessControl clone()
clone
in class com.google.api.client.json.GenericJson