Module gcp

Source
Expand description

An object store implementation for Google Cloud Storage

§Multipart uploads

Multipart uploads can be initiated with the ObjectStore::put_multipart method. If neither MultipartUpload::complete nor MultipartUpload::abort is invoked, you may have parts uploaded to GCS but not used, that you will be charged for. It is recommended you configure a lifecycle rule to abort incomplete multipart uploads after a certain period of time to avoid being charged for storing partial uploads.

§Using HTTP/2

Google Cloud Storage supports both HTTP/2 and HTTP/1. HTTP/1 is used by default because it allows much higher throughput in our benchmarks (see #5194). HTTP/2 can be enabled by setting crate::ClientConfigKey::Http1Only to false.

Structs§

GcpCredential
A Google Cloud Storage Credential
GcpSigningCredential
A Google Cloud Storage Credential for signing
GoogleCloudStorage
Interface for Google Cloud Storage.
GoogleCloudStorageBuilder
Configure a connection to Google Cloud Storage.
ServiceAccountKey
A private RSA key for a service account

Enums§

GoogleConfigKey
Configuration keys for GoogleCloudStorageBuilder

Type Aliases§

GcpCredentialProvider
CredentialProvider for GoogleCloudStorage
GcpSigningCredentialProvider
GcpSigningCredential for GoogleCloudStorage