| Modifier and Type | Class and Description |
|---|---|
class |
Storage.Folders.Delete |
class |
Storage.Folders.Get |
class |
Storage.Folders.Insert |
class |
Storage.Folders.List |
class |
Storage.Folders.Rename |
| Constructor and Description |
|---|
Folders() |
| Modifier and Type | Method and Description |
|---|---|
Storage.Folders.Delete |
delete(String bucket,
String folder)
Permanently deletes a folder.
|
Storage.Folders.Get |
get(String bucket,
String folder)
Returns metadata for the specified folder.
|
Storage.Folders.Insert |
insert(String bucket,
Folder content)
Creates a new folder.
|
Storage.Folders.List |
list(String bucket)
Retrieves a list of folders matching the criteria.
|
Storage.Folders.Rename |
rename(String bucket,
String sourceFolder,
String destinationFolder)
Renames a source folder to a destination folder.
|
public Storage.Folders.Delete delete(String bucket, String folder) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.bucket - Name of the bucket in which the folder resides.folder - Name of a folder.IOExceptionpublic Storage.Folders.Get get(String bucket, String folder) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.bucket - Name of the bucket in which the folder resides.folder - Name of a folder.IOExceptionpublic Storage.Folders.Insert insert(String bucket, Folder content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.bucket - Name of the bucket in which the folder resides.content - the FolderIOExceptionpublic Storage.Folders.List list(String bucket) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.bucket - Name of the bucket in which to look for folders.IOExceptionpublic Storage.Folders.Rename rename(String bucket, String sourceFolder, String destinationFolder) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.bucket - Name of the bucket in which the folders are in.sourceFolder - Name of the source folder.destinationFolder - Name of the destination folder.IOExceptionCopyright © 2011–2025 Google. All rights reserved.