Google Cloud Storage C++ Client
1.42.0
A C++ Client Library for Google Cloud Storage
|
Contains all the Google Cloud Storage C++ client APIs. More...
Namespaces | |
event_type | |
Contains functions to return well-known notification event type names. | |
oauth2 | |
payload_format | |
Contains functions to return well-known notification payload format names. | |
storage_class | |
Contains functions to return well-known storage class names. | |
Classes | |
struct | AutoFinalize |
Control whether upload streams auto-finalize on destruction. More... | |
class | BucketAccessControl |
Wraps the bucketAccessControl resource in Google Cloud Storage. More... | |
class | BucketAccessControlPatchBuilder |
Prepares a patch for a BucketAccessControl resource. More... | |
struct | BucketBilling |
The billing configuration for a Bucket. More... | |
struct | CorsEntry |
An entry in the CORS list. More... | |
struct | UniformBucketLevelAccess |
Configure if only the IAM policies are used for access control. More... | |
struct | BucketIamConfiguration |
The IAM configuration for a Bucket. More... | |
struct | BucketLifecycle |
The Object Lifecycle configuration for a Bucket. More... | |
struct | BucketLogging |
The Logging configuration for a Bucket. More... | |
struct | BucketEncryption |
Describes the default customer managed encryption key for a bucket. More... | |
struct | BucketRetentionPolicy |
The retention policy for a bucket. More... | |
struct | BucketVersioning |
The versioning configuration for a Bucket. More... | |
struct | BucketWebsite |
The website configuration for a Bucket. More... | |
class | BucketMetadata |
Represents a Google Cloud Storage Bucket Metadata object. More... | |
class | BucketMetadataPatchBuilder |
Prepares a patch for the Bucket resource. More... | |
class | Client |
The Google Cloud Storage (GCS) Client. More... | |
class | ChannelOptions |
Describes the configuration for low-level connection features. More... | |
class | ClientOptions |
Describes the configuration for a storage::Client object. More... | |
struct | ReadRangeData |
struct | ReadRange |
Request only a portion of the GCS object in a ReadObject operation. More... | |
struct | ReadFromOffset |
Download all the data from the GCS object starting at the given offset. More... | |
struct | ReadLast |
Read last N bytes from the GCS object. More... | |
class | HashMismatchError |
Report checksum mismatches as exceptions. More... | |
struct | MD5HashValue |
Provide a pre-computed MD5 hash value. More... | |
struct | DisableMD5Hash |
Disable or enable MD5 Hashing computations. More... | |
struct | Crc32cChecksumValue |
Provide a pre-computed CRC32C checksum value. More... | |
struct | DisableCrc32cChecksum |
Disable CRC32C checksum computations. More... | |
class | HmacKeyMetadata |
Represents the metadata for a Google Cloud Storage HmacKeyResource. More... | |
class | NativeExpression |
Represents a google::type::Expr. More... | |
class | NativeIamBinding |
Represents a Binding which associates a member with a particular role which can be used for Identity and Access management for Cloud Platform Resources. More... | |
class | NativeIamPolicy |
Represent the result of a GetIamPolicy or SetIamPolicy request. More... | |
class | IdempotencyPolicy |
Define the interface for the idempotency policy. More... | |
class | AlwaysRetryIdempotencyPolicy |
A IdempotencyPolicy that always retries all requests. More... | |
class | StrictIdempotencyPolicy |
A IdempotencyPolicy that only retries strictly idempotent requests. More... | |
struct | LifecycleRuleAction |
Implement a wrapper for Lifecycle Rules actions. More... | |
struct | LifecycleRuleCondition |
Implement a wrapper for Lifecycle Conditions. More... | |
class | LifecycleRule |
Defines objects to read, create, and modify Object Lifecycle Rules. More... | |
class | NotificationMetadata |
Represents the metadata for a Google Cloud Storage Notification resource. More... | |
class | ObjectAccessControl |
Wraps the objectAccessControl resource in Google Cloud Storage. More... | |
class | ObjectAccessControlPatchBuilder |
Prepares a patch for an ObjectAccessControl resource. More... | |
struct | CustomerEncryption |
A simple representation for the customerEncryption field. More... | |
struct | ComposeSourceObject |
Defines one of the source objects for a compose operation. More... | |
class | ObjectMetadata |
Represents the metadata for a Google Cloud Storage Object. More... | |
class | ObjectMetadataPatchBuilder |
Prepares a patch for the Bucket resource. More... | |
struct | WithObjectMetadata |
A request option to define the object metadata attributes. More... | |
class | ObjectReadStream |
Defines a std::basic_istream<char> to read from a GCS Object. More... | |
struct | RewriteProgress |
Represents the status of a rewrite operation. More... | |
class | ObjectRewriter |
Complete long running object rewrite operations. More... | |
class | ObjectWriteStream |
Defines a std::basic_ostream<char> to write to a GCS object. More... | |
struct | RestEndpointOption |
Configure the REST endpoint for the GCS client library. More... | |
struct | IamEndpointOption |
Configure the IAM endpoint for the GCS client library. More... | |
struct | Oauth2CredentialsOption |
Configure oauth2::Credentials for the GCS client library. More... | |
struct | ProjectIdOption |
Set the Google Cloud Platform project id. More... | |
struct | ConnectionPoolSizeOption |
Set the maximum connection pool size. More... | |
struct | DownloadBufferSizeOption |
Control the formatted I/O download buffer. More... | |
struct | UploadBufferSizeOption |
Control the formatted I/O upload buffer. More... | |
struct | MaximumSimpleUploadSizeOption |
Defines the threshold to switch from simple to resumable uploads for files. More... | |
struct | EnableCurlSslLockingOption |
Disables automatic OpenSSL locking. More... | |
struct | EnableCurlSigpipeHandlerOption |
Disables automatic OpenSSL sigpipe handler. More... | |
struct | MaximumCurlSocketRecvSizeOption |
Control the maximum socket receive buffer. More... | |
struct | MaximumCurlSocketSendSizeOption |
Control the maximum socket send buffer. More... | |
struct | TransferStallTimeoutOption |
Sets the transfer stall timeout. More... | |
struct | DownloadStallTimeoutOption |
Sets the download stall timeout. More... | |
struct | RetryPolicyOption |
Set the retry policy for a GCS client. More... | |
struct | BackoffPolicyOption |
Set the backoff policy for a GCS client. More... | |
struct | IdempotencyPolicyOption |
Set the idempotency policy for a GCS client. More... | |
struct | OverrideDefaultProject |
Override the default project. More... | |
class | MaxStreams |
A parameter type indicating the maximum number of streams to ParallelUploadFile . More... | |
class | MinStreamSize |
A parameter type indicating the minimum stream size to ParallelUploadFile . More... | |
class | PolicyDocumentCondition |
Define a condition for a policy document. More... | |
struct | PolicyDocument |
Define a policy document. More... | |
struct | PolicyDocumentV4 |
Define a policy document V4. More... | |
struct | PolicyDocumentResult |
Define a policy document result. More... | |
struct | PolicyDocumentV4Result |
Define a policy document result V4. More... | |
class | ServiceAccount |
Represents the metadata for a Google Cloud Storage service account. More... | |
struct | ExpirationTime |
Define the expiration time for a signed URL. More... | |
struct | AddExtensionHeaderOption |
Add a extension header to a signed URL. More... | |
struct | AddQueryParameterOption |
Add a extension header to a signed URL. More... | |
struct | SubResourceOption |
Specify a sub-resource in a signed URL. More... | |
struct | SignedUrlTimestamp |
Define the timestamp duration for a V4 signed URL. More... | |
struct | SignedUrlDuration |
Define the duration for a V4 signed URL. More... | |
struct | SigningAccount |
Specify the service account used to sign a blob. More... | |
struct | SigningAccountDelegates |
Specify the sequence of delegates used to sign a blob. More... | |
struct | VirtualHostname |
Indicate that the bucket should be a part of hostname in the URL. More... | |
struct | BucketBoundHostname |
Use domain-named bucket in a V4 signed URL. More... | |
struct | Scheme |
Use the specified scheme (e.g. "http") in a V4 signed URL. More... | |
struct | AddExtensionFieldOption |
Add a extension header to a POST policy. More... | |
struct | UseResumableUploadSession |
Request a resumable upload, restoring a previous session if necessary. More... | |
struct | UploadContentLength |
Provide an expected final length of an uploaded object. More... | |
struct | UploadFromOffset |
Upload the local file to GCS server starting at the given offset. More... | |
struct | UploadLimit |
The maximum length of the local file to upload to GCS server. More... | |
struct | UploadBufferSize |
Set the buffer size for a stream created in Client::WriteObject() . More... | |
struct | ContentType |
Set the MIME content type of an object. More... | |
class | CustomHeader |
An option to inject custom headers into the request. More... | |
struct | IfMatchEtag |
A pre-condition: apply this operation only if the HTTP Entity Tag matches. More... | |
struct | IfNoneMatchEtag |
A pre-condition: apply this operation only if the HTTP Entity Tag does not match. More... | |
struct | EncryptionKeyData |
A simple wrapper for the encryption key attributes. More... | |
struct | EncryptionKey |
An optional parameter to set the Customer-Supplied Encryption key. More... | |
struct | SourceEncryptionKey |
An optional parameter to set the Customer-Supplied Encryption key for rewrite source object. More... | |
struct | AcceptEncoding |
Modify the accepted encodings. More... | |
struct | ContentEncoding |
Sets the contentEncoding option for object uploads. More... | |
struct | Deleted |
Included deleted HMAC keys in list requests. More... | |
struct | DestinationKmsKeyName |
Configure the Customer-Managed Encryption Key (CMEK) for an rewrite. More... | |
struct | Fields |
Defines the fields query parameter. More... | |
struct | Generation |
Set the version of an object to operate on. More... | |
struct | IfGenerationMatch |
A pre-condition: the request succeeds only if the object generation matches. More... | |
struct | IfGenerationNotMatch |
A pre-condition: the request succeeds unless the object generation matches. More... | |
struct | IfMetagenerationMatch |
A pre-condition: the request succeeds if the metadata generation matches. More... | |
struct | IfMetagenerationNotMatch |
A pre-condition: the request succeeds unless the metadata generation matches. More... | |
struct | IfSourceGenerationMatch |
A pre-condition: the request succeeds if the source object generation matches. More... | |
struct | IfSourceGenerationNotMatch |
A pre-condition: the request succeeds unless the source object generation matches. More... | |
struct | IfSourceMetagenerationMatch |
A pre-condition: the request succeeds if the source object metadata generation matches. More... | |
struct | IfSourceMetagenerationNotMatch |
A pre-condition: the request succeeds unless the source object metadata generation matches. More... | |
struct | KmsKeyName |
Configure the Customer-Managed Encryption Key (CMEK) for an upload. More... | |
struct | MaxResults |
Limit the number of results per page when listing Buckets and Objects. More... | |
struct | MaxBytesRewrittenPerCall |
Limit the number of bytes rewritten in a Objects: rewrite step. More... | |
struct | PredefinedAcl |
Set the ACL to predefined values when creating Buckets or Objects. More... | |
struct | DestinationPredefinedAcl |
Set the ACL to a predefined value when copying Objects. More... | |
struct | PredefinedDefaultObjectAcl |
Set the default object ACL to a predefined value in a Bucket. More... | |
struct | Prefix |
Restrict list operations to entries starting with this value. More... | |
struct | Delimiter |
Returns results in a directory-like mode. More... | |
struct | IncludeTrailingDelimiter |
If true , objects that end in exactly one instance of delimiter have their metadata included in items[] in addition to the relevant part of the object name appearing in prefixes[] . More... | |
struct | StartOffset |
Filter results to objects whose names are lexicographically equal to or after StartOffset. More... | |
struct | EndOffset |
Filter results to objects whose names are lexicographically before EndOffset. More... | |
struct | Projection |
Controls what metadata fields are included in the response. More... | |
struct | QuotaUser |
Sets the user for this operation for quota enforcement purposes. More... | |
struct | ServiceAccountFilter |
Only list HMAC keys belonging to a specific Service Account. More... | |
struct | SourceGeneration |
Set the generation for the source object in copy operations. More... | |
struct | UserProject |
Set the project used for billing in "requester pays" Buckets. More... | |
struct | Versions |
Control if all versions of an object should be included when listing objects. More... | |
struct | RequestedPolicyVersion |
Controls the IAM policy version returned by IAM queries. More... | |
Typedefs | |
using | HeadersMap = std::multimap< std::string, std::string > |
Represents the headers returned in a streaming upload or download operation. More... | |
using | ListBucketsReader = google::cloud::internal::PaginationRange< BucketMetadata > |
using | ListBucketsIterator = ListBucketsReader::iterator |
using | ListHmacKeysReader = google::cloud::internal::PaginationRange< HmacKeyMetadata > |
A range to paginate over the HmacKeys for a project. More... | |
using | ListHmacKeysIterator = ListHmacKeysReader::iterator |
using | ObjectOrPrefix = absl::variant< ObjectMetadata, std::string > |
using | ListObjectsAndPrefixesReader = google::cloud::internal::PaginationRange< ObjectOrPrefix > |
using | ListObjectsAndPrefixesIterator = ListObjectsAndPrefixesReader::iterator |
using | ListObjectsReader = google::cloud::internal::PaginationRange< ObjectMetadata > |
using | ListObjectsIterator = ListObjectsReader::iterator |
using | ClientOptionList = ::google::cloud::OptionList< RestEndpointOption, IamEndpointOption, Oauth2CredentialsOption, ProjectIdOption, ProjectIdOption, ConnectionPoolSizeOption, DownloadBufferSizeOption, UploadBufferSizeOption, EnableCurlSslLockingOption, EnableCurlSigpipeHandlerOption, MaximumCurlSocketRecvSizeOption, MaximumCurlSocketSendSizeOption, TransferStallTimeoutOption, RetryPolicyOption, BackoffPolicyOption, IdempotencyPolicyOption, CARootsFilePathOption, storage_experimental::HttpVersionOption > |
The complete list of options accepted by storage::Client . More... | |
using | RetryPolicy = ::google::cloud::internal::TraitBasedRetryPolicy< internal::StatusTraits > |
The retry policy base class. More... | |
using | LimitedTimeRetryPolicy = ::google::cloud::internal::LimitedTimeRetryPolicy< internal::StatusTraits > |
Keep retrying until some time has expired. More... | |
using | LimitedErrorCountRetryPolicy = ::google::cloud::internal::LimitedErrorCountRetryPolicy< internal::StatusTraits > |
Keep retrying until the error count has been exceeded. More... | |
using | BackoffPolicy = ::google::cloud::internal::BackoffPolicy |
The backoff policy base class. More... | |
using | ExponentialBackoffPolicy = ::google::cloud::internal::ExponentialBackoffPolicy |
Implement truncated exponential backoff with randomization. More... | |
Enumerations | |
enum class | AutoFinalizeConfig { kDisabled , kEnabled } |
Functions | |
AutoFinalize | AutoFinalizeEnabled () |
Configure a stream to automatically finalize an upload on destruction. More... | |
AutoFinalize | AutoFinalizeDisabled () |
Configure a stream to leave uploads pending (not finalized) on destruction. More... | |
std::ostream & | operator<< (std::ostream &os, AutoFinalize const &rhs) |
std::ostream & | operator<< (std::ostream &os, BucketAccessControl const &rhs) |
bool | operator== (BucketBilling const &lhs, BucketBilling const &rhs) |
bool | operator< (BucketBilling const &lhs, BucketBilling const &rhs) |
bool | operator!= (BucketBilling const &lhs, BucketBilling const &rhs) |
bool | operator> (BucketBilling const &lhs, BucketBilling const &rhs) |
bool | operator<= (BucketBilling const &lhs, BucketBilling const &rhs) |
bool | operator>= (BucketBilling const &lhs, BucketBilling const &rhs) |
std::string | CreateRandomPrefixName (std::string const &prefix="") |
Create a random prefix for object names. More... | |
template<typename... Options> | |
Status | DeleteByPrefix (Client &client, std::string const &bucket_name, std::string const &prefix, Options &&... options) |
Delete objects whose names match a given prefix. More... | |
template<typename... Options> | |
StatusOr< ObjectMetadata > | ComposeMany (Client &client, std::string const &bucket_name, std::vector< ComposeSourceObject > source_objects, std::string const &prefix, std::string destination_object_name, bool ignore_cleanup_failures, Options &&... options) |
Compose existing objects into a new object in the same bucket. More... | |
std::ostream & | operator<< (std::ostream &os, ReadRangeData const &rhs) |
std::string | ComputeMD5Hash (std::string const &payload) |
Compute the MD5 Hash of a string in the format preferred by GCS. More... | |
DisableMD5Hash | EnableMD5Hash () |
Enable MD5 hashes in upload and download operations. More... | |
std::string | ComputeCrc32cChecksum (std::string const &payload) |
Compute the CRC32C checksum of a string in the format preferred by GCS. More... | |
bool | operator== (HmacKeyMetadata const &lhs, HmacKeyMetadata const &rhs) |
bool | operator!= (HmacKeyMetadata const &lhs, HmacKeyMetadata const &rhs) |
std::ostream & | operator<< (std::ostream &os, HmacKeyMetadata const &rhs) |
std::ostream & | operator<< (std::ostream &stream, NativeExpression const &) |
std::ostream & | operator<< (std::ostream &os, NativeIamBinding const &binding) |
std::ostream & | operator<< (std::ostream &os, NativeIamPolicy const &rhs) |
bool | operator== (LifecycleRuleAction const &lhs, LifecycleRuleAction const &rhs) |
bool | operator< (LifecycleRuleAction const &lhs, LifecycleRuleAction const &rhs) |
bool | operator!= (LifecycleRuleAction const &lhs, LifecycleRuleAction const &rhs) |
bool | operator> (LifecycleRuleAction const &lhs, LifecycleRuleAction const &rhs) |
bool | operator<= (LifecycleRuleAction const &lhs, LifecycleRuleAction const &rhs) |
bool | operator>= (LifecycleRuleAction const &lhs, LifecycleRuleAction const &rhs) |
std::ostream & | operator<< (std::ostream &os, LifecycleRuleAction const &rhs) |
bool | operator== (LifecycleRuleCondition const &lhs, LifecycleRuleCondition const &rhs) |
bool | operator< (LifecycleRuleCondition const &lhs, LifecycleRuleCondition const &rhs) |
bool | operator!= (LifecycleRuleCondition const &lhs, LifecycleRuleCondition const &rhs) |
bool | operator> (LifecycleRuleCondition const &lhs, LifecycleRuleCondition const &rhs) |
bool | operator<= (LifecycleRuleCondition const &lhs, LifecycleRuleCondition const &rhs) |
bool | operator>= (LifecycleRuleCondition const &lhs, LifecycleRuleCondition const &rhs) |
std::ostream & | operator<< (std::ostream &os, LifecycleRuleCondition const &rhs) |
bool | operator== (LifecycleRule const &lhs, LifecycleRule const &rhs) |
bool | operator< (LifecycleRule const &lhs, LifecycleRule const &rhs) |
bool | operator!= (LifecycleRule const &lhs, LifecycleRule const &rhs) |
bool | operator> (LifecycleRule const &lhs, LifecycleRule const &rhs) |
bool | operator<= (LifecycleRule const &lhs, LifecycleRule const &rhs) |
bool | operator>= (LifecycleRule const &lhs, LifecycleRule const &rhs) |
std::ostream & | operator<< (std::ostream &os, LifecycleRule const &rhs) |
bool | operator== (NotificationMetadata const &lhs, NotificationMetadata const &rhs) |
bool | operator< (NotificationMetadata const &lhs, NotificationMetadata const &rhs) |
bool | operator!= (NotificationMetadata const &lhs, NotificationMetadata const &rhs) |
bool | operator> (NotificationMetadata const &lhs, NotificationMetadata const &rhs) |
bool | operator<= (NotificationMetadata const &lhs, NotificationMetadata const &rhs) |
bool | operator>= (NotificationMetadata const &lhs, NotificationMetadata const &rhs) |
std::ostream & | operator<< (std::ostream &os, NotificationMetadata const &rhs) |
std::ostream & | operator<< (std::ostream &os, ObjectAccessControl const &rhs) |
std::ostream & | operator<< (std::ostream &os, ComposeSourceObject const &r) |
bool | operator== (CustomerEncryption const &lhs, CustomerEncryption const &rhs) |
bool | operator< (CustomerEncryption const &lhs, CustomerEncryption const &rhs) |
bool | operator!= (CustomerEncryption const &lhs, CustomerEncryption const &rhs) |
bool | operator> (CustomerEncryption const &lhs, CustomerEncryption const &rhs) |
bool | operator<= (CustomerEncryption const &lhs, CustomerEncryption const &rhs) |
bool | operator>= (CustomerEncryption const &lhs, CustomerEncryption const &rhs) |
std::ostream & | operator<< (std::ostream &os, ObjectMetadata const &rhs) |
template<typename... Options> | |
StatusOr< ObjectMetadata > | ParallelUploadFile (Client client, std::string file_name, std::string bucket_name, std::string object_name, std::string prefix, bool ignore_cleanup_failures, Options &&... options) |
Perform a parallel upload of a given file. More... | |
bool | operator== (PolicyDocumentCondition const &lhs, PolicyDocumentCondition const &rhs) |
bool | operator< (PolicyDocumentCondition const &lhs, PolicyDocumentCondition const &rhs) |
bool | operator!= (PolicyDocumentCondition const &lhs, PolicyDocumentCondition const &rhs) |
bool | operator> (PolicyDocumentCondition const &lhs, PolicyDocumentCondition const &rhs) |
bool | operator<= (PolicyDocumentCondition const &lhs, PolicyDocumentCondition const &rhs) |
bool | operator>= (PolicyDocumentCondition const &lhs, PolicyDocumentCondition const &rhs) |
std::ostream & | operator<< (std::ostream &os, PolicyDocumentCondition const &rhs) |
std::ostream & | operator<< (std::ostream &os, PolicyDocument const &rhs) |
std::ostream & | operator<< (std::ostream &os, PolicyDocumentV4 const &rhs) |
std::ostream & | operator<< (std::ostream &os, PolicyDocumentResult const &rhs) |
std::string | FormatDateForForm (PolicyDocumentV4Result const &) |
Format the current date in the format expected by a POST form. More... | |
std::ostream & | operator<< (std::ostream &os, PolicyDocumentV4Result const &rhs) |
bool | operator== (ServiceAccount const &lhs, ServiceAccount const &rhs) |
bool | operator< (ServiceAccount const &lhs, ServiceAccount const &rhs) |
bool | operator!= (ServiceAccount const &lhs, ServiceAccount const &rhs) |
bool | operator> (ServiceAccount const &lhs, ServiceAccount const &rhs) |
bool | operator<= (ServiceAccount const &lhs, ServiceAccount const &rhs) |
bool | operator>= (ServiceAccount const &lhs, ServiceAccount const &rhs) |
std::ostream & | operator<< (std::ostream &os, ServiceAccount const &rhs) |
AddExtensionHeaderOption | AddExtensionHeader (std::string header, std::string value) |
AddQueryParameterOption | WithGeneration (std::uint64_t generation) |
AddQueryParameterOption | WithGenerationMarker (std::uint64_t generation) |
AddQueryParameterOption | WithUserProject (std::string user_project) |
AddQueryParameterOption | WithMarker (std::string marker) |
AddQueryParameterOption | WithResponseContentDisposition (std::string disposition) |
AddQueryParameterOption | WithResponseContentType (std::string const &type) |
SubResourceOption | WithAcl () |
SubResourceOption | WithBilling () |
SubResourceOption | WithCompose () |
SubResourceOption | WithCors () |
SubResourceOption | WithEncryption () |
SubResourceOption | WithEncryptionConfig () |
SubResourceOption | WithLifecycle () |
SubResourceOption | WithLocation () |
SubResourceOption | WithLogging () |
SubResourceOption | WithStorageClass () |
SubResourceOption | WithTagging () |
AddExtensionFieldOption | AddExtensionField (std::string field, std::string value) |
UseResumableUploadSession | RestoreResumableUploadSession (std::string session_id) |
Create a UseResumableUploadSession option that restores previous sessions. More... | |
UseResumableUploadSession | NewResumableUploadSession () |
Create a UseResumableUploadSession option that requests new sessions. More... | |
constexpr int | version_major () |
Returns the Google Cloud Storage C++ Client major version. More... | |
constexpr int | version_minor () |
Returns the Google Cloud Storage C++ Client minor version. More... | |
constexpr int | version_patch () |
Returns the Google Cloud Storage C++ Client patch version. More... | |
constexpr int | version () |
Returns a single integer representing the Major/Minor/Patch version. More... | |
std::string | version_string () |
Returns the version as a string, in MAJOR.MINOR.PATCH+gitrev format. More... | |
std::string | x_goog_api_client () |
Returns the value for x-goog-api-client header. More... | |
std::ostream & | operator<< (std::ostream &os, CustomHeader const &rhs) |
EncryptionKeyData | EncryptionDataFromBinaryKey (std::string const &key) |
Formats a (potentially binary) encryption key in the format required by the Google Cloud Storage API. More... | |
EncryptionKeyData | EncryptionDataFromBase64Key (std::string const &key) |
Formats an encryption key in base64 format to the data structure required by the Google Cloud Storage API. More... | |
std::ostream & | operator<< (std::ostream &os, EncryptionKey const &rhs) |
std::ostream & | operator<< (std::ostream &os, SourceEncryptionKey const &rhs) |
template<typename Generator > | |
EncryptionKeyData | CreateKeyFromGenerator (Generator &gen) |
Creates an encryption key parameter from a pseudo-random number generator. More... | |
AcceptEncoding | AcceptEncodingGzip () |
AcceptEncoding | AcceptEncodingIdentity () |
Comparison operators For UniformBucketLevelAccess | |
bool | operator== (UniformBucketLevelAccess const &lhs, UniformBucketLevelAccess const &rhs) |
bool | operator< (UniformBucketLevelAccess const &lhs, UniformBucketLevelAccess const &rhs) |
bool | operator!= (UniformBucketLevelAccess const &lhs, UniformBucketLevelAccess const &rhs) |
bool | operator> (UniformBucketLevelAccess const &lhs, UniformBucketLevelAccess const &rhs) |
bool | operator<= (UniformBucketLevelAccess const &lhs, UniformBucketLevelAccess const &rhs) |
bool | operator>= (UniformBucketLevelAccess const &lhs, UniformBucketLevelAccess const &rhs) |
std::ostream & | operator<< (std::ostream &os, UniformBucketLevelAccess const &rhs) |
Public Access Prevention helper functions | |
std::string | PublicAccessPreventionEnforced () |
std::string | PublicAccessPreventionInherited () |
std::string | PublicAccessPreventionUnspecified () |
Comparison operators for BucketIamConfiguration. | |
bool | operator== (BucketIamConfiguration const &lhs, BucketIamConfiguration const &rhs) |
bool | operator< (BucketIamConfiguration const &lhs, BucketIamConfiguration const &rhs) |
bool | operator!= (BucketIamConfiguration const &lhs, BucketIamConfiguration const &rhs) |
bool | operator> (BucketIamConfiguration const &lhs, BucketIamConfiguration const &rhs) |
bool | operator<= (BucketIamConfiguration const &lhs, BucketIamConfiguration const &rhs) |
bool | operator>= (BucketIamConfiguration const &lhs, BucketIamConfiguration const &rhs) |
std::ostream & | operator<< (std::ostream &os, BucketIamConfiguration const &rhs) |
Comparison operators for BucketLifecycle. | |
bool | operator== (BucketLifecycle const &lhs, BucketLifecycle const &rhs) |
A helper function to avoid typos in the RPO configuration. More... | |
bool | operator< (BucketLifecycle const &lhs, BucketLifecycle const &rhs) |
A helper function to avoid typos in the RPO configuration. More... | |
bool | operator!= (BucketLifecycle const &lhs, BucketLifecycle const &rhs) |
A helper function to avoid typos in the RPO configuration. More... | |
bool | operator> (BucketLifecycle const &lhs, BucketLifecycle const &rhs) |
A helper function to avoid typos in the RPO configuration. More... | |
bool | operator<= (BucketLifecycle const &lhs, BucketLifecycle const &rhs) |
A helper function to avoid typos in the RPO configuration. More... | |
bool | operator>= (BucketLifecycle const &lhs, BucketLifecycle const &rhs) |
A helper function to avoid typos in the RPO configuration. More... | |
bool | operator== (BucketLogging const &lhs, BucketLogging const &rhs) |
A helper function to avoid typos in the RPO configuration. More... | |
bool | operator< (BucketLogging const &lhs, BucketLogging const &rhs) |
A helper function to avoid typos in the RPO configuration. More... | |
bool | operator!= (BucketLogging const &lhs, BucketLogging const &rhs) |
A helper function to avoid typos in the RPO configuration. More... | |
bool | operator> (BucketLogging const &lhs, BucketLogging const &rhs) |
A helper function to avoid typos in the RPO configuration. More... | |
bool | operator<= (BucketLogging const &lhs, BucketLogging const &rhs) |
A helper function to avoid typos in the RPO configuration. More... | |
bool | operator>= (BucketLogging const &lhs, BucketLogging const &rhs) |
A helper function to avoid typos in the RPO configuration. More... | |
std::ostream & | operator<< (std::ostream &os, BucketLogging const &rhs) |
A helper function to avoid typos in the RPO configuration. More... | |
bool | operator== (BucketEncryption const &lhs, BucketEncryption const &rhs) |
A helper function to avoid typos in the RPO configuration. More... | |
bool | operator< (BucketEncryption const &lhs, BucketEncryption const &rhs) |
A helper function to avoid typos in the RPO configuration. More... | |
bool | operator!= (BucketEncryption const &lhs, BucketEncryption const &rhs) |
A helper function to avoid typos in the RPO configuration. More... | |
bool | operator> (BucketEncryption const &lhs, BucketEncryption const &rhs) |
A helper function to avoid typos in the RPO configuration. More... | |
bool | operator<= (BucketEncryption const &lhs, BucketEncryption const &rhs) |
A helper function to avoid typos in the RPO configuration. More... | |
bool | operator>= (BucketEncryption const &lhs, BucketEncryption const &rhs) |
A helper function to avoid typos in the RPO configuration. More... | |
bool | operator== (BucketRetentionPolicy const &lhs, BucketRetentionPolicy const &rhs) |
A helper function to avoid typos in the RPO configuration. More... | |
bool | operator< (BucketRetentionPolicy const &lhs, BucketRetentionPolicy const &rhs) |
A helper function to avoid typos in the RPO configuration. More... | |
bool | operator!= (BucketRetentionPolicy const &lhs, BucketRetentionPolicy const &rhs) |
A helper function to avoid typos in the RPO configuration. More... | |
bool | operator> (BucketRetentionPolicy const &lhs, BucketRetentionPolicy const &rhs) |
A helper function to avoid typos in the RPO configuration. More... | |
bool | operator<= (BucketRetentionPolicy const &lhs, BucketRetentionPolicy const &rhs) |
A helper function to avoid typos in the RPO configuration. More... | |
bool | operator>= (BucketRetentionPolicy const &lhs, BucketRetentionPolicy const &rhs) |
A helper function to avoid typos in the RPO configuration. More... | |
std::ostream & | operator<< (std::ostream &os, BucketRetentionPolicy const &rhs) |
A helper function to avoid typos in the RPO configuration. More... | |
std::string | RpoDefault () |
A helper function to avoid typos in the RPO configuration. More... | |
std::string | RpoAsyncTurbo () |
A helper function to avoid typos in the RPO configuration. More... | |
bool | operator== (BucketVersioning const &lhs, BucketVersioning const &rhs) |
A helper function to avoid typos in the RPO configuration. More... | |
bool | operator< (BucketVersioning const &lhs, BucketVersioning const &rhs) |
A helper function to avoid typos in the RPO configuration. More... | |
bool | operator!= (BucketVersioning const &lhs, BucketVersioning const &rhs) |
A helper function to avoid typos in the RPO configuration. More... | |
bool | operator> (BucketVersioning const &lhs, BucketVersioning const &rhs) |
A helper function to avoid typos in the RPO configuration. More... | |
bool | operator<= (BucketVersioning const &lhs, BucketVersioning const &rhs) |
A helper function to avoid typos in the RPO configuration. More... | |
bool | operator>= (BucketVersioning const &lhs, BucketVersioning const &rhs) |
A helper function to avoid typos in the RPO configuration. More... | |
bool | operator== (BucketWebsite const &lhs, BucketWebsite const &rhs) |
A helper function to avoid typos in the RPO configuration. More... | |
bool | operator< (BucketWebsite const &lhs, BucketWebsite const &rhs) |
A helper function to avoid typos in the RPO configuration. More... | |
bool | operator!= (BucketWebsite const &lhs, BucketWebsite const &rhs) |
A helper function to avoid typos in the RPO configuration. More... | |
bool | operator> (BucketWebsite const &lhs, BucketWebsite const &rhs) |
A helper function to avoid typos in the RPO configuration. More... | |
bool | operator<= (BucketWebsite const &lhs, BucketWebsite const &rhs) |
A helper function to avoid typos in the RPO configuration. More... | |
bool | operator>= (BucketWebsite const &lhs, BucketWebsite const &rhs) |
A helper function to avoid typos in the RPO configuration. More... | |
std::ostream & | operator<< (std::ostream &os, BucketMetadata const &rhs) |
A helper function to avoid typos in the RPO configuration. More... | |
Comparison operators for CorsEntry. | |
using | BucketPolicyOnly = UniformBucketLevelAccess |
bool | operator== (CorsEntry const &lhs, CorsEntry const &rhs) |
bool | operator< (CorsEntry const &lhs, CorsEntry const &rhs) |
bool | operator!= (CorsEntry const &lhs, CorsEntry const &rhs) |
bool | operator> (CorsEntry const &lhs, CorsEntry const &rhs) |
bool | operator<= (CorsEntry const &lhs, CorsEntry const &rhs) |
bool | operator>= (CorsEntry const &lhs, CorsEntry const &rhs) |
std::ostream & | operator<< (std::ostream &os, CorsEntry const &rhs) |
Contains all the Google Cloud Storage C++ client APIs.
using google::cloud::storage::BackoffPolicy = typedef ::google::cloud::internal::BackoffPolicy |
The backoff policy base class.
Definition at line 53 of file retry_policy.h.
using google::cloud::storage::BucketPolicyOnly = typedef UniformBucketLevelAccess |
Definition at line 156 of file bucket_metadata.h.
The complete list of options accepted by storage::Client
.
using google::cloud::storage::ExponentialBackoffPolicy = typedef ::google::cloud::internal::ExponentialBackoffPolicy |
Implement truncated exponential backoff with randomization.
Definition at line 56 of file retry_policy.h.
using google::cloud::storage::HeadersMap = typedef std::multimap<std::string, std::string> |
Represents the headers returned in a streaming upload or download operation.
Definition at line 28 of file headers_map.h.
using google::cloud::storage::LimitedErrorCountRetryPolicy = typedef ::google::cloud::internal::LimitedErrorCountRetryPolicy< internal::StatusTraits> |
Keep retrying until the error count has been exceeded.
Definition at line 48 of file retry_policy.h.
using google::cloud::storage::LimitedTimeRetryPolicy = typedef ::google::cloud::internal::LimitedTimeRetryPolicy<internal::StatusTraits> |
Keep retrying until some time has expired.
Definition at line 44 of file retry_policy.h.
using google::cloud::storage::ListBucketsIterator = typedef ListBucketsReader::iterator |
Definition at line 31 of file list_buckets_reader.h.
using google::cloud::storage::ListBucketsReader = typedef google::cloud::internal::PaginationRange<BucketMetadata> |
Definition at line 28 of file list_buckets_reader.h.
using google::cloud::storage::ListHmacKeysIterator = typedef ListHmacKeysReader::iterator |
Definition at line 36 of file list_hmac_keys_reader.h.
using google::cloud::storage::ListHmacKeysReader = typedef google::cloud::internal::PaginationRange<HmacKeyMetadata> |
A range to paginate over the HmacKeys for a project.
Definition at line 33 of file list_hmac_keys_reader.h.
using google::cloud::storage::ListObjectsAndPrefixesIterator = typedef ListObjectsAndPrefixesReader::iterator |
Definition at line 34 of file list_objects_and_prefixes_reader.h.
using google::cloud::storage::ListObjectsAndPrefixesReader = typedef google::cloud::internal::PaginationRange<ObjectOrPrefix> |
Definition at line 31 of file list_objects_and_prefixes_reader.h.
using google::cloud::storage::ListObjectsIterator = typedef ListObjectsReader::iterator |
Definition at line 33 of file list_objects_reader.h.
using google::cloud::storage::ListObjectsReader = typedef google::cloud::internal::PaginationRange<ObjectMetadata> |
Definition at line 30 of file list_objects_reader.h.
using google::cloud::storage::ObjectOrPrefix = typedef absl::variant<ObjectMetadata, std::string> |
Definition at line 29 of file list_objects_and_prefixes_reader.h.
using google::cloud::storage::RetryPolicy = typedef ::google::cloud::internal::TraitBasedRetryPolicy<internal::StatusTraits> |
The retry policy base class.
Definition at line 40 of file retry_policy.h.
|
strong |
Enumerator | |
---|---|
kDisabled | |
kEnabled |
Definition at line 27 of file auto_finalize.h.
|
inline |
Definition at line 307 of file well_known_headers.h.
|
inline |
Definition at line 309 of file well_known_headers.h.
|
inline |
Definition at line 267 of file signed_url_options.h.
|
inline |
Definition at line 58 of file signed_url_options.h.
|
inline |
Configure a stream to leave uploads pending (not finalized) on destruction.
Definition at line 54 of file auto_finalize.h.
|
inline |
Configure a stream to automatically finalize an upload on destruction.
Definition at line 49 of file auto_finalize.h.
StatusOr<ObjectMetadata> google::cloud::storage::ComposeMany | ( | Client & | client, |
std::string const & | bucket_name, | ||
std::vector< ComposeSourceObject > | source_objects, | ||
std::string const & | prefix, | ||
std::string | destination_object_name, | ||
bool | ignore_cleanup_failures, | ||
Options &&... | options | ||
) |
Compose existing objects into a new object in the same bucket.
Contrary to Client::ComposeObject
, this function doesn't have a limit on the number of source objects.
The implementation may need to perform multiple Client::ComposeObject calls to create intermediate, temporary objects which are then further composed. Due to the lack of atomicity of this series of operations, stray temporary objects might be left over if there are transient failures. In order to allow the user to easily control for such situations, the user is expected to provide a unique prefix
parameter, which will become the prefix of all the temporary objects created by this function. Once this function finishes, the user may safely remove all objects with the provided prefix (e.g. via DeleteByPrefix()). We recommend using CreateRandomPrefixName() for selecting a random prefix within a bucket.
client | the client on which to perform the operations needed by this function |
bucket_name | the name of the bucket used for source object and destination object. |
source_objects | objects used to compose destination_object_name . |
destination_object_name | the composed object name. |
prefix | prefix for temporary objects created by this function; there should not be any objects with this prefix; in order to avoid race conditions, this function will create an object with this name |
ignore_cleanup_failures | if the composition succeeds but cleanup of temporary objects fails, depending on this parameter either a success will be returned (true ) or the relevant cleanup error (false ) |
options | a list of optional query parameters and/or request headers. Valid types for this operation include DestinationPredefinedAcl , EncryptionKey , IfGenerationMatch , IfMetagenerationMatch KmsKeyName , QuotaUser , UserIp , UserProject and WithObjectMetadata . |
std::string google::cloud::storage::ComputeCrc32cChecksum | ( | std::string const & | payload | ) |
Compute the CRC32C checksum of a string in the format preferred by GCS.
std::string google::cloud::storage::ComputeMD5Hash | ( | std::string const & | payload | ) |
Compute the MD5 Hash of a string in the format preferred by GCS.
EncryptionKeyData google::cloud::storage::CreateKeyFromGenerator | ( | Generator & | gen | ) |
Creates an encryption key parameter from a pseudo-random number generator.
Generator | the pseudo-random number generator type, it must meet the UniformRandomBitGenerator requirements. |
gen | the pseudo-random number generator. |
Definition at line 269 of file well_known_headers.h.
std::string google::cloud::storage::CreateRandomPrefixName | ( | std::string const & | prefix = "" | ) |
Create a random prefix for object names.
This is useful for operations which require a unique prefix for temporary files.
This is a helper function and it doesn't communicate with GCS, so there is a very small chance that names generated this way aren't unique. The chance should be small enough to fit any error budget.
Given the same prefix
, the randomly generated names will have the same length.
prefix | the prefix of the prefix to be created. |
Status google::cloud::storage::DeleteByPrefix | ( | Client & | client, |
std::string const & | bucket_name, | ||
std::string const & | prefix, | ||
Options &&... | options | ||
) |
Delete objects whose names match a given prefix.
client | the client on which to perform the operation. |
bucket_name | the name of the bucket that will contain the object. |
prefix | the prefix of the objects to be deleted. |
options | a list of optional query parameters and/or request headers. Valid types for this operation include QuotaUser , UserIp , UserProject and Versions . |
|
inline |
Enable MD5 hashes in upload and download operations.
Use this function where the option DisableMD5Hash
is expected to enable MD5 hashes.
Definition at line 78 of file hashing_options.h.
EncryptionKeyData google::cloud::storage::EncryptionDataFromBase64Key | ( | std::string const & | key | ) |
Formats an encryption key in base64 format to the data structure required by the Google Cloud Storage API.
key | a base64-encoded key, must have exactly 32 bytes when decoded. |
EncryptionKeyData google::cloud::storage::EncryptionDataFromBinaryKey | ( | std::string const & | key | ) |
Formats a (potentially binary) encryption key in the format required by the Google Cloud Storage API.
key | a binary key, must have exactly 32 bytes. |
std::string google::cloud::storage::FormatDateForForm | ( | PolicyDocumentV4Result const & | ) |
Format the current date in the format expected by a POST form.
|
inline |
Create a UseResumableUploadSession option that requests new sessions.
Definition at line 54 of file upload_options.h.
|
inline |
Definition at line 65 of file bucket_metadata.h.
|
inline |
A helper function to avoid typos in the RPO configuration.
Definition at line 366 of file bucket_metadata.h.
|
inline |
Definition at line 241 of file bucket_metadata.h.
|
inline |
A helper function to avoid typos in the RPO configuration.
Definition at line 284 of file bucket_metadata.h.
|
inline |
A helper function to avoid typos in the RPO configuration.
Definition at line 322 of file bucket_metadata.h.
|
inline |
A helper function to avoid typos in the RPO configuration.
Definition at line 416 of file bucket_metadata.h.
|
inline |
A helper function to avoid typos in the RPO configuration.
Definition at line 467 of file bucket_metadata.h.
|
inline |
A helper function to avoid typos in the RPO configuration.
Definition at line 508 of file bucket_metadata.h.
Definition at line 121 of file bucket_metadata.h.
|
inline |
Definition at line 69 of file object_metadata.h.
|
inline |
Definition at line 111 of file hmac_key_metadata.h.
|
inline |
Definition at line 358 of file lifecycle_rule.h.
|
inline |
Definition at line 57 of file lifecycle_rule.h.
|
inline |
Definition at line 100 of file lifecycle_rule.h.
|
inline |
Definition at line 181 of file notification_metadata.h.
|
inline |
Definition at line 98 of file policy_document.h.
|
inline |
Definition at line 59 of file service_account.h.
|
inline |
Definition at line 172 of file bucket_metadata.h.
|
inline |
Definition at line 61 of file bucket_metadata.h.
|
inline |
A helper function to avoid typos in the RPO configuration.
Definition at line 361 of file bucket_metadata.h.
|
inline |
Definition at line 233 of file bucket_metadata.h.
|
inline |
A helper function to avoid typos in the RPO configuration.
Definition at line 280 of file bucket_metadata.h.
|
inline |
A helper function to avoid typos in the RPO configuration.
Definition at line 317 of file bucket_metadata.h.
|
inline |
A helper function to avoid typos in the RPO configuration.
Definition at line 410 of file bucket_metadata.h.
|
inline |
A helper function to avoid typos in the RPO configuration.
Definition at line 462 of file bucket_metadata.h.
|
inline |
A helper function to avoid typos in the RPO configuration.
Definition at line 503 of file bucket_metadata.h.
Definition at line 114 of file bucket_metadata.h.
|
inline |
Definition at line 63 of file object_metadata.h.
|
inline |
Definition at line 353 of file lifecycle_rule.h.
|
inline |
Definition at line 51 of file lifecycle_rule.h.
bool google::cloud::storage::operator< | ( | LifecycleRuleCondition const & | lhs, |
LifecycleRuleCondition const & | rhs | ||
) |
|
inline |
Definition at line 171 of file notification_metadata.h.
|
inline |
Definition at line 93 of file policy_document.h.
|
inline |
Definition at line 54 of file service_account.h.
|
inline |
Definition at line 166 of file bucket_metadata.h.
std::ostream& google::cloud::storage::operator<< | ( | std::ostream & | os, |
AutoFinalize const & | rhs | ||
) |
std::ostream& google::cloud::storage::operator<< | ( | std::ostream & | os, |
BucketAccessControl const & | rhs | ||
) |
std::ostream& google::cloud::storage::operator<< | ( | std::ostream & | os, |
BucketIamConfiguration const & | rhs | ||
) |
std::ostream& google::cloud::storage::operator<< | ( | std::ostream & | os, |
BucketLogging const & | rhs | ||
) |
A helper function to avoid typos in the RPO configuration.
std::ostream& google::cloud::storage::operator<< | ( | std::ostream & | os, |
BucketMetadata const & | rhs | ||
) |
A helper function to avoid typos in the RPO configuration.
std::ostream& google::cloud::storage::operator<< | ( | std::ostream & | os, |
BucketRetentionPolicy const & | rhs | ||
) |
A helper function to avoid typos in the RPO configuration.
std::ostream& google::cloud::storage::operator<< | ( | std::ostream & | os, |
ComposeSourceObject const & | r | ||
) |
std::ostream& google::cloud::storage::operator<< | ( | std::ostream & | os, |
CorsEntry const & | rhs | ||
) |
std::ostream& google::cloud::storage::operator<< | ( | std::ostream & | os, |
CustomHeader const & | rhs | ||
) |
std::ostream& google::cloud::storage::operator<< | ( | std::ostream & | os, |
EncryptionKey const & | rhs | ||
) |
std::ostream& google::cloud::storage::operator<< | ( | std::ostream & | os, |
HmacKeyMetadata const & | rhs | ||
) |
std::ostream& google::cloud::storage::operator<< | ( | std::ostream & | os, |
LifecycleRule const & | rhs | ||
) |
std::ostream& google::cloud::storage::operator<< | ( | std::ostream & | os, |
LifecycleRuleAction const & | rhs | ||
) |
std::ostream& google::cloud::storage::operator<< | ( | std::ostream & | os, |
LifecycleRuleCondition const & | rhs | ||
) |
std::ostream& google::cloud::storage::operator<< | ( | std::ostream & | os, |
NativeIamBinding const & | binding | ||
) |
std::ostream& google::cloud::storage::operator<< | ( | std::ostream & | os, |
NativeIamPolicy const & | rhs | ||
) |
std::ostream& google::cloud::storage::operator<< | ( | std::ostream & | os, |
NotificationMetadata const & | rhs | ||
) |
std::ostream& google::cloud::storage::operator<< | ( | std::ostream & | os, |
ObjectAccessControl const & | rhs | ||
) |
std::ostream& google::cloud::storage::operator<< | ( | std::ostream & | os, |
ObjectMetadata const & | rhs | ||
) |
std::ostream& google::cloud::storage::operator<< | ( | std::ostream & | os, |
PolicyDocument const & | rhs | ||
) |
std::ostream& google::cloud::storage::operator<< | ( | std::ostream & | os, |
PolicyDocumentCondition const & | rhs | ||
) |
std::ostream& google::cloud::storage::operator<< | ( | std::ostream & | os, |
PolicyDocumentResult const & | rhs | ||
) |
std::ostream& google::cloud::storage::operator<< | ( | std::ostream & | os, |
PolicyDocumentV4 const & | rhs | ||
) |
std::ostream& google::cloud::storage::operator<< | ( | std::ostream & | os, |
PolicyDocumentV4Result const & | rhs | ||
) |
|
inline |
Definition at line 45 of file download_options.h.
std::ostream& google::cloud::storage::operator<< | ( | std::ostream & | os, |
ServiceAccount const & | rhs | ||
) |
std::ostream& google::cloud::storage::operator<< | ( | std::ostream & | os, |
SourceEncryptionKey const & | rhs | ||
) |
std::ostream& google::cloud::storage::operator<< | ( | std::ostream & | os, |
UniformBucketLevelAccess const & | rhs | ||
) |
std::ostream& google::cloud::storage::operator<< | ( | std::ostream & | stream, |
NativeExpression const & | |||
) |
|
inline |
Definition at line 73 of file bucket_metadata.h.
|
inline |
A helper function to avoid typos in the RPO configuration.
Definition at line 376 of file bucket_metadata.h.
|
inline |
Definition at line 251 of file bucket_metadata.h.
|
inline |
A helper function to avoid typos in the RPO configuration.
Definition at line 292 of file bucket_metadata.h.
|
inline |
A helper function to avoid typos in the RPO configuration.
Definition at line 330 of file bucket_metadata.h.
|
inline |
A helper function to avoid typos in the RPO configuration.
Definition at line 426 of file bucket_metadata.h.
|
inline |
A helper function to avoid typos in the RPO configuration.
Definition at line 477 of file bucket_metadata.h.
|
inline |
A helper function to avoid typos in the RPO configuration.
Definition at line 516 of file bucket_metadata.h.
Definition at line 129 of file bucket_metadata.h.
|
inline |
Definition at line 79 of file object_metadata.h.
|
inline |
Definition at line 366 of file lifecycle_rule.h.
|
inline |
Definition at line 67 of file lifecycle_rule.h.
|
inline |
Definition at line 110 of file lifecycle_rule.h.
|
inline |
Definition at line 191 of file notification_metadata.h.
|
inline |
Definition at line 108 of file policy_document.h.
|
inline |
Definition at line 67 of file service_account.h.
|
inline |
Definition at line 182 of file bucket_metadata.h.
|
inline |
Definition at line 57 of file bucket_metadata.h.
|
inline |
A helper function to avoid typos in the RPO configuration.
Definition at line 356 of file bucket_metadata.h.
|
inline |
Definition at line 225 of file bucket_metadata.h.
|
inline |
A helper function to avoid typos in the RPO configuration.
Definition at line 276 of file bucket_metadata.h.
|
inline |
A helper function to avoid typos in the RPO configuration.
Definition at line 312 of file bucket_metadata.h.
|
inline |
A helper function to avoid typos in the RPO configuration.
Definition at line 404 of file bucket_metadata.h.
|
inline |
A helper function to avoid typos in the RPO configuration.
Definition at line 457 of file bucket_metadata.h.
|
inline |
A helper function to avoid typos in the RPO configuration.
Definition at line 498 of file bucket_metadata.h.
Definition at line 107 of file bucket_metadata.h.
|
inline |
Definition at line 57 of file object_metadata.h.
|
inline |
Definition at line 98 of file hmac_key_metadata.h.
|
inline |
Definition at line 348 of file lifecycle_rule.h.
|
inline |
Definition at line 45 of file lifecycle_rule.h.
bool google::cloud::storage::operator== | ( | LifecycleRuleCondition const & | lhs, |
LifecycleRuleCondition const & | rhs | ||
) |
|
inline |
Definition at line 161 of file notification_metadata.h.
|
inline |
Definition at line 88 of file policy_document.h.
|
inline |
Definition at line 49 of file service_account.h.
|
inline |
Definition at line 160 of file bucket_metadata.h.
|
inline |
Definition at line 69 of file bucket_metadata.h.
|
inline |
A helper function to avoid typos in the RPO configuration.
Definition at line 371 of file bucket_metadata.h.
|
inline |
Definition at line 246 of file bucket_metadata.h.
|
inline |
A helper function to avoid typos in the RPO configuration.
Definition at line 288 of file bucket_metadata.h.
|
inline |
A helper function to avoid typos in the RPO configuration.
Definition at line 326 of file bucket_metadata.h.
|
inline |
A helper function to avoid typos in the RPO configuration.
Definition at line 421 of file bucket_metadata.h.
|
inline |
A helper function to avoid typos in the RPO configuration.
Definition at line 472 of file bucket_metadata.h.
|
inline |
A helper function to avoid typos in the RPO configuration.
Definition at line 512 of file bucket_metadata.h.
Definition at line 125 of file bucket_metadata.h.
|
inline |
Definition at line 74 of file object_metadata.h.
|
inline |
Definition at line 362 of file lifecycle_rule.h.
|
inline |
Definition at line 62 of file lifecycle_rule.h.
|
inline |
Definition at line 105 of file lifecycle_rule.h.
|
inline |
Definition at line 186 of file notification_metadata.h.
|
inline |
Definition at line 103 of file policy_document.h.
|
inline |
Definition at line 63 of file service_account.h.
|
inline |
Definition at line 177 of file bucket_metadata.h.
|
inline |
Definition at line 77 of file bucket_metadata.h.
|
inline |
A helper function to avoid typos in the RPO configuration.
Definition at line 381 of file bucket_metadata.h.
|
inline |
Definition at line 256 of file bucket_metadata.h.
|
inline |
A helper function to avoid typos in the RPO configuration.
Definition at line 296 of file bucket_metadata.h.
|
inline |
A helper function to avoid typos in the RPO configuration.
Definition at line 334 of file bucket_metadata.h.
|
inline |
A helper function to avoid typos in the RPO configuration.
Definition at line 431 of file bucket_metadata.h.
|
inline |
A helper function to avoid typos in the RPO configuration.
Definition at line 482 of file bucket_metadata.h.
|
inline |
A helper function to avoid typos in the RPO configuration.
Definition at line 520 of file bucket_metadata.h.
Definition at line 133 of file bucket_metadata.h.
|
inline |
Definition at line 84 of file object_metadata.h.
|
inline |
Definition at line 370 of file lifecycle_rule.h.
|
inline |
Definition at line 72 of file lifecycle_rule.h.
|
inline |
Definition at line 115 of file lifecycle_rule.h.
|
inline |
Definition at line 196 of file notification_metadata.h.
|
inline |
Definition at line 113 of file policy_document.h.
|
inline |
Definition at line 71 of file service_account.h.
|
inline |
Definition at line 187 of file bucket_metadata.h.
StatusOr<ObjectMetadata> google::cloud::storage::ParallelUploadFile | ( | Client | client, |
std::string | file_name, | ||
std::string | bucket_name, | ||
std::string | object_name, | ||
std::string | prefix, | ||
bool | ignore_cleanup_failures, | ||
Options &&... | options | ||
) |
Perform a parallel upload of a given file.
You can affect how many shards will be created by using the MaxStreams
and MinStreamSize
options.
client | the client on which to perform the operation. |
file_name | the path to the file to be uploaded |
bucket_name | the name of the bucket that will contain the object. |
object_name | the uploaded object name. |
prefix | the prefix with which temporary objects will be created. |
ignore_cleanup_failures | treat failures to cleanup the temporary objects as not fatal. |
options | a list of optional query parameters and/or request headers. Valid types for this operation include DestinationPredefinedAcl , EncryptionKey , IfGenerationMatch , IfMetagenerationMatch , KmsKeyName , MaxStreams, MinStreamSize, QuotaUser, UserIp, UserProject, WithObjectMetadata, UseResumableUploadSession`. |
Definition at line 1161 of file parallel_upload.h.
|
inline |
Definition at line 217 of file bucket_metadata.h.
|
inline |
Definition at line 218 of file bucket_metadata.h.
|
inline |
Definition at line 220 of file bucket_metadata.h.
|
inline |
Create a UseResumableUploadSession option that restores previous sessions.
Definition at line 48 of file upload_options.h.
|
inline |
A helper function to avoid typos in the RPO configuration.
Definition at line 442 of file bucket_metadata.h.
|
inline |
A helper function to avoid typos in the RPO configuration.
Definition at line 439 of file bucket_metadata.h.
|
constexpr |
|
constexpr |
Returns the Google Cloud Storage C++ Client major version.
|
constexpr |
Returns the Google Cloud Storage C++ Client minor version.
|
constexpr |
Returns the Google Cloud Storage C++ Client patch version.
std::string google::cloud::storage::version_string | ( | ) |
Returns the version as a string, in MAJOR.MINOR.PATCH+gitrev format.
|
inline |
Definition at line 121 of file signed_url_options.h.
|
inline |
Definition at line 123 of file signed_url_options.h.
|
inline |
Definition at line 125 of file signed_url_options.h.
|
inline |
Definition at line 127 of file signed_url_options.h.
|
inline |
Definition at line 129 of file signed_url_options.h.
|
inline |
Definition at line 133 of file signed_url_options.h.
|
inline |
Definition at line 81 of file signed_url_options.h.
|
inline |
Definition at line 85 of file signed_url_options.h.
|
inline |
Definition at line 137 of file signed_url_options.h.
|
inline |
Definition at line 141 of file signed_url_options.h.
|
inline |
Definition at line 145 of file signed_url_options.h.
|
inline |
Definition at line 94 of file signed_url_options.h.
|
inline |
Definition at line 98 of file signed_url_options.h.
|
inline |
Definition at line 104 of file signed_url_options.h.
|
inline |
Definition at line 147 of file signed_url_options.h.
|
inline |
Definition at line 151 of file signed_url_options.h.
|
inline |
Definition at line 90 of file signed_url_options.h.
std::string google::cloud::storage::x_goog_api_client | ( | ) |
Returns the value for x-goog-api-client
header.