storage.v1 library Null safety

Cloud Storage JSON API - v1

Stores and retrieves potentially large, immutable data objects.

For more information, see developers.google.com/storage/docs/json_api/

Create an instance of StorageApi to access these resources:

Classes

Bucket
A bucket.
BucketAccessControl
An access-control entry.
BucketAccessControlProjectTeam
The project team associated with the entity, if any.
BucketAccessControls
An access-control list.
BucketAccessControlsResource
BucketBilling
The bucket's billing configuration.
BucketCors
BucketCustomPlacementConfig
The bucket's custom placement configuration for Custom Dual Regions.
BucketEncryption
Encryption configuration for a bucket.
BucketIamConfiguration
The bucket's IAM configuration.
BucketIamConfigurationBucketPolicyOnly
The bucket's uniform bucket-level access configuration. [...]
BucketIamConfigurationUniformBucketLevelAccess
The bucket's uniform bucket-level access configuration.
BucketLifecycle
The bucket's lifecycle configuration. [...]
BucketLifecycleRule
BucketLifecycleRuleAction
The action to take.
BucketLifecycleRuleCondition
The condition(s) under which the action will be taken.
BucketLogging
The bucket's logging configuration, which defines the destination bucket and optional name prefix for the current bucket's logs.
BucketOwner
The owner of the bucket. [...]
BucketRetentionPolicy
The bucket's retention policy. [...]
Buckets
A list of buckets.
BucketsResource
BucketVersioning
The bucket's versioning configuration.
BucketWebsite
The bucket's website configuration, controlling how the service behaves when accessing bucket contents as a web site. [...]
ByteRange
Specifies a range of media.
Channel
An notification channel used to watch for resource changes.
ChannelsResource
ComposeRequest
A Compose request.
ComposeRequestSourceObjects
ComposeRequestSourceObjectsObjectPreconditions
Conditions that must be met for this operation to execute.
DefaultObjectAccessControlsResource
DownloadOptions
Represents options for downloading media. [...]
Expr
Represents an expression text. [...]
HmacKey
JSON template to produce a JSON-style HMAC Key resource for Create responses.
HmacKeyMetadata
JSON template to produce a JSON-style HMAC Key metadata resource.
HmacKeysMetadata
A list of hmacKeys.
Media
Represents a media consisting of a stream of bytes, a content type and a length.
Notification
A subscription to receive Google PubSub notifications.
Notifications
A list of notification subscriptions.
NotificationsResource
Object
An object.
ObjectAccessControl
An access-control entry.
ObjectAccessControlProjectTeam
The project team associated with the entity, if any.
ObjectAccessControls
An access-control list.
ObjectAccessControlsResource
ObjectCustomerEncryption
Metadata of customer-supplied encryption key, if the object is encrypted by such a key.
ObjectOwner
The owner of the object. [...]
Objects
A list of objects.
ObjectsResource
PartialDownloadOptions
Options for downloading a Media.
Policy
A bucket/object IAM policy.
PolicyBindings
ProjectsHmacKeysResource
ProjectsResource
ProjectsServiceAccountResource
ResumableUploadOptions
Specifies options for resumable uploads.
RewriteResponse
A rewrite response.
ServiceAccount
A subscription to receive Google PubSub notifications.
StorageApi
Stores and retrieves potentially large, immutable data objects.
TestIamPermissionsResponse
A storage.(buckets|objects).testIamPermissions response.
UploadOptions
Represents options for uploading a Media.

Exceptions / Errors

ApiRequestError
Represents a general error reported by the API endpoint.
DetailedApiRequestError
Represents a specific error reported by the API endpoint.