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.IOException
public 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.IOException
public 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 Folder
IOException
public 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.IOException
public 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.IOException
Copyright © 2011–2024 Google. All rights reserved.