Cloud Storage API v1beta1 (revision 34)
com.google.api.services.storage.model
Class Bucket.Owner
java.lang.Object
java.util.AbstractMap<String,Object>
com.google.api.client.util.GenericData
com.google.api.client.json.GenericJson
com.google.api.services.storage.model.Bucket.Owner
- All Implemented Interfaces:
- Cloneable, Map<String,Object>
- Enclosing class:
- Bucket
public static final class Bucket.Owner
- extends GenericJson
The owner of the bucket. This will always be the project team's owner group.
Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
Bucket.Owner
public Bucket.Owner()
getEntity
public String getEntity()
- The entity, in the form group-groupId.
- Returns:
- value or
null
for none
setEntity
public Bucket.Owner setEntity(String entity)
- The entity, in the form group-groupId.
- Parameters:
entity
- entity or null
for none
getEntityId
public String getEntityId()
- The ID for the entity.
- Returns:
- value or
null
for none
setEntityId
public Bucket.Owner setEntityId(String entityId)
- The ID for the entity.
- Parameters:
entityId
- entityId or null
for none
set
public Bucket.Owner set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
clone
public Bucket.Owner clone()
- Overrides:
clone
in class GenericJson