|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.StorageObject
public final class StorageObject
An object.
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()
Nested Class Summary | |
---|---|
static class |
StorageObject.Media
Object media data. |
static class |
StorageObject.Owner
The owner of the object. |
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 | |
---|---|
StorageObject()
|
Method Summary | |
---|---|
List<ObjectAccessControl> |
getAcl()
Access controls on the object. |
String |
getBucket()
The bucket containing this object. |
String |
getCacheControl()
Cache-Control directive for the object data. |
String |
getContentDisposition()
Content-Disposition of the object data. |
String |
getContentEncoding()
Content-Encoding of the object data. |
String |
getContentLanguage()
Content-Language of the object data. |
String |
getId()
The ID of the object. |
String |
getKind()
The kind of item this is. |
StorageObject.Media |
getMedia()
Object media data. |
Map<String,String> |
getMetadata()
User-provided metadata, in key/value pairs. |
String |
getName()
The name of this object. |
StorageObject.Owner |
getOwner()
The owner of the object. |
String |
getSelfLink()
The link to this object. |
StorageObject |
setAcl(List<ObjectAccessControl> acl)
Access controls on the object. |
StorageObject |
setBucket(String bucket)
The bucket containing this object. |
StorageObject |
setCacheControl(String cacheControl)
Cache-Control directive for the object data. |
StorageObject |
setContentDisposition(String contentDisposition)
Content-Disposition of the object data. |
StorageObject |
setContentEncoding(String contentEncoding)
Content-Encoding of the object data. |
StorageObject |
setContentLanguage(String contentLanguage)
Content-Language of the object data. |
StorageObject |
setId(String id)
The ID of the object. |
StorageObject |
setKind(String kind)
The kind of item this is. |
StorageObject |
setMedia(StorageObject.Media media)
Object media data. |
StorageObject |
setMetadata(Map<String,String> metadata)
User-provided metadata, in key/value pairs. |
StorageObject |
setName(String name)
The name of this object. |
StorageObject |
setOwner(StorageObject.Owner owner)
The owner of the object. |
StorageObject |
setSelfLink(String selfLink)
The link to this object. |
Methods inherited from class com.google.api.client.json.GenericJson |
---|
clone, getFactory, setFactory, toPrettyString, toString |
Methods inherited from class com.google.api.client.util.GenericData |
---|
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, set, 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 StorageObject()
Method Detail |
---|
public List<ObjectAccessControl> getAcl()
null
.
public StorageObject setAcl(List<ObjectAccessControl> acl)
null
.
public String getBucket()
null
.
public StorageObject setBucket(String bucket)
null
.
public String getCacheControl()
null
.
public StorageObject setCacheControl(String cacheControl)
null
.
public String getContentDisposition()
null
.
public StorageObject setContentDisposition(String contentDisposition)
null
.
public String getContentEncoding()
null
.
public StorageObject setContentEncoding(String contentEncoding)
null
.
public String getContentLanguage()
null
.
public StorageObject setContentLanguage(String contentLanguage)
null
.
public String getId()
null
.
public StorageObject setId(String id)
null
.
public String getKind()
null
.
public StorageObject setKind(String kind)
null
.
public StorageObject.Media getMedia()
null
.
public StorageObject setMedia(StorageObject.Media media)
null
.
public Map<String,String> getMetadata()
null
.
public StorageObject setMetadata(Map<String,String> metadata)
null
.
public String getName()
null
.
public StorageObject setName(String name)
null
.
public StorageObject.Owner getOwner()
null
.
public StorageObject setOwner(StorageObject.Owner owner)
null
.
public String getSelfLink()
null
.
public StorageObject setSelfLink(String selfLink)
null
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |