FoldersResource class

Constructors

FoldersResource(ApiRequester client)

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

delete(String bucket, String folder, {String? ifMetagenerationMatch, String? ifMetagenerationNotMatch, String? $fields}) → Future<void>
Permanently deletes a folder.
deleteRecursive(String bucket, String folder, {String? ifMetagenerationMatch, String? ifMetagenerationNotMatch, String? $fields}) → Future<GoogleLongrunningOperation>
Deletes a folder recursively.
get(String bucket, String folder, {String? ifMetagenerationMatch, String? ifMetagenerationNotMatch, String? $fields}) → Future<Folder>
Returns metadata for the specified folder.
insert(Folder request, String bucket, {bool? recursive, String? $fields}) → Future<Folder>
Creates a new folder.
list(String bucket, {String? delimiter, String? endOffset, int? pageSize, String? pageToken, String? prefix, String? startOffset, String? $fields}) → Future<Folders>
Retrieves a list of folders matching the criteria.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rename(String bucket, String sourceFolder, String destinationFolder, {String? ifSourceMetagenerationMatch, String? ifSourceMetagenerationNotMatch, String? $fields}) → Future<GoogleLongrunningOperation>
Renames a source folder to a destination folder.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited