|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.api.services.storage.Storage.Objects
public class Storage.Objects
The "objects" collection of methods.
| Nested Class Summary | |
|---|---|
class |
Storage.Objects.Delete
|
class |
Storage.Objects.Get
|
class |
Storage.Objects.Insert
|
class |
Storage.Objects.List
|
class |
Storage.Objects.Patch
|
class |
Storage.Objects.Update
|
| Constructor Summary | |
|---|---|
Storage.Objects()
|
|
| Method Summary | |
|---|---|
Storage.Objects.Delete |
delete(String bucket,
String storageObject)
Deletes data blobs and associated metadata. |
Storage.Objects.Get |
get(String bucket,
String storageObject)
Retrieves objects or their associated metadata. |
Storage.Objects.Insert |
insert(String bucket,
StorageObject content)
Stores new data blobs and associated metadata. |
Storage.Objects.Insert |
insert(String bucket,
StorageObject content,
AbstractInputStreamContent mediaContent)
Stores new data blobs and associated metadata. |
Storage.Objects.List |
list(String bucket)
Retrieves a list of objects matching the criteria. |
Storage.Objects.Patch |
patch(String bucket,
String storageObject,
StorageObject content)
Updates a data blob's associated metadata. |
Storage.Objects.Update |
update(String bucket,
String storageObject,
StorageObject content)
Updates a data blob's associated metadata. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Storage.Objects()
| Method Detail |
|---|
public Storage.Objects.Delete delete(String bucket,
String storageObject)
throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.
bucket - Name of the bucket in which the object resides.storageObject - Name of the object.
IOException
public Storage.Objects.Get get(String bucket,
String storageObject)
throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.
bucket - Name of the bucket in which the object resides.storageObject - Name of the object.
IOException
public Storage.Objects.Insert insert(String bucket,
StorageObject content)
throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.
bucket - Name of the bucket in which to store the new object. Overrides the provided object metadata's bucket
value, if any.content - the StorageObject
IOException
public Storage.Objects.Insert insert(String bucket,
StorageObject content,
AbstractInputStreamContent mediaContent)
throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.
This method should be used for uploading media content.
bucket - Name of the bucket in which to store the new object. Overrides the provided object metadata's bucket
value, if any.content - the StorageObject media metadata or null if nonemediaContent - The media HTTP content or null if none.
IOException - if the initialization of the request fails
public Storage.Objects.List list(String bucket)
throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.
bucket - Name of the bucket in which to look for objects.
IOException
public Storage.Objects.Patch patch(String bucket,
String storageObject,
StorageObject content)
throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.
bucket - Name of the bucket in which the object resides.storageObject - Name of the object.content - the StorageObject
IOException
public Storage.Objects.Update update(String bucket,
String storageObject,
StorageObject content)
throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.
bucket - Name of the bucket in which the object resides.storageObject - Name of the object.content - the StorageObject
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||