Storage class abstract

Access to Cloud Storage

Constructors

Storage(Client client, String project)
Initializes access to cloud storage.
factory

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

bucket(String bucketName, {PredefinedAcl? defaultPredefinedObjectAcl, Acl? defaultObjectAcl}) Bucket
Access bucket object operations.
bucketExists(String bucketName) Future<bool>
Check whether a cloud storage bucket exists.
bucketInfo(String bucketName) Future<BucketInfo>
Get information on a bucket
copyObject(String src, String dest, {ObjectMetadata? metadata}) Future
Copy an object.
createBucket(String bucketName, {PredefinedAcl? predefinedAcl, Acl? acl}) Future
Create a cloud storage bucket.
deleteBucket(String bucketName) Future
Delete a cloud storage bucket.
listBucketNames() Stream<String>
List names of all buckets.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pageBucketNames({int pageSize = 50}) Future<Page<String>>
Start paging through names of all buckets.
toString() String
A string representation of this object.
inherited

Operators

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

Constants

SCOPES → const List<String>
List of required OAuth2 scopes for Cloud Storage operation.