storage/v1 library
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
- AnywhereCache
- An Anywhere Cache instance.
- AnywhereCaches
- A list of Anywhere Caches.
- AnywhereCachesResource
- Bucket
- A bucket.
- BucketAccessControl
- An access-control entry.
- BucketAccessControlProjectTeam
- The project team associated with the entity, if any.
- BucketAccessControls
- An access-control list.
- BucketAccessControlsResource
- BucketAutoclass
- The bucket's Autoclass configuration.
- BucketBilling
- The bucket's billing configuration.
- BucketCors
- BucketCustomPlacementConfig
- The bucket's custom placement configuration for Custom Dual Regions.
- BucketEncryption
- Encryption configuration for a bucket.
- BucketHierarchicalNamespace
- The bucket's hierarchical namespace configuration.
- 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.
- BucketObjectRetention
- The bucket's object retention config.
- BucketOwner
- The owner of the bucket.
- BucketRetentionPolicy
- The bucket's retention policy.
- Buckets
- A list of buckets.
- BucketSoftDeletePolicy
- The bucket's soft delete policy, which defines the period of time that soft-deleted objects will be retained, and cannot be permanently deleted.
- BucketsResource
- BucketStorageLayout
- The storage layout configuration of a bucket.
- BucketStorageLayoutCustomPlacementConfig
- The bucket's custom placement configuration for Custom Dual Regions.
- BucketStorageLayoutHierarchicalNamespace
- The bucket's hierarchical namespace configuration.
- 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.
- BulkRestoreObjectsRequest
- A bulk restore objects request.
- 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.
- Folder
- A folder.
- FolderPendingRenameInfo
- Only present if the folder is part of an ongoing rename folder operation.
- Folders
- A list of folders.
- FoldersResource
- GoogleLongrunningListOperationsResponse
- The response message for storage.buckets.operations.list.
- GoogleLongrunningOperation
- This resource represents a long-running operation that is the result of a network API call.
- GoogleRpcStatus
- The "Status" type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs.
- 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.
- ManagedFolder
- A managed folder.
- ManagedFolders
- A list of managed folders.
- ManagedFoldersResource
- 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.
- ObjectRetention
- A collection of object level retention parameters.
- Objects
- A list of objects.
- ObjectsResource
- OperationsResource
- PartialDownloadOptions
- Options for downloading a Media.
- Policy
- A bucket/object/managedFolder 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|managedFolders).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.