Documentation
Technology areas
close
AI and ML
Application development
Application hosting
Compute
Data analytics and pipelines
Databases
Distributed, hybrid, and multicloud
Generative AI
Industry solutions
Networking
Observability and monitoring
Security
Storage
Cross-product tools
close
Access and resources management
Costs and usage management
Google Cloud SDK, languages, frameworks, and tools
Infrastructure as code
Migration
Related sites
close
Google Cloud Home
Free Trial and Free Tier
Architecture Center
Blog
Contact Sales
Google Cloud Developer Center
Google Developer Center
Google Cloud Marketplace
Google Cloud Marketplace Documentation
Google Cloud Skills Boost
Google Cloud Solution Center
Google Cloud Support
Google Cloud Tech Youtube Channel
/
English
Deutsch
Español – América Latina
Français
Português – Brasil
中文 – 简体
日本語
한국어
Sign in
C++
Overview
Guides
Reference
Samples
Contact Us
Start free
Documentation
Overview
Guides
Reference
Samples
Technology areas
More
Cross-product tools
More
Related sites
More
Console
Contact Us
Start free
Overview
Library reference docs
Google Cloud Storage C++ Client Library
In-Depth Topics
Environment Variables
Error Handling
Using the GCS+gRPC Plugin
Override the Default Endpoint
Override the authentication configuration
Override the default retry policies
Writing Tests with a Mock Client
Modules
GCS Client Library Configuration Options
Namespaces
google::cloud::storage
Overview
Classes
AlwaysRetryIdempotencyPolicy
Overview
Constructors
AlwaysRetryIdempotencyPolicy()
Functions
virtual IsIdempotent(internal::ListBucketsRequest const &) const
virtual IsIdempotent(internal::CreateBucketRequest const &) const
virtual IsIdempotent(internal::GetBucketMetadataRequest const &) const
virtual IsIdempotent(internal::DeleteBucketRequest const &) const
virtual IsIdempotent(internal::UpdateBucketRequest const &) const
virtual IsIdempotent(internal::PatchBucketRequest const &) const
virtual IsIdempotent(internal::GetBucketIamPolicyRequest const &) const
virtual IsIdempotent(internal::SetNativeBucketIamPolicyRequest const &) const
virtual IsIdempotent(internal::TestBucketIamPermissionsRequest const &) const
virtual IsIdempotent(internal::LockBucketRetentionPolicyRequest const &) const
virtual IsIdempotent(internal::InsertObjectMediaRequest const &) const
virtual IsIdempotent(internal::CopyObjectRequest const &) const
virtual IsIdempotent(internal::GetObjectMetadataRequest const &) const
virtual IsIdempotent(internal::ReadObjectRangeRequest const &) const
virtual IsIdempotent(internal::ListObjectsRequest const &) const
virtual IsIdempotent(internal::DeleteObjectRequest const &) const
virtual IsIdempotent(internal::UpdateObjectRequest const &) const
virtual IsIdempotent(internal::PatchObjectRequest const &) const
virtual IsIdempotent(internal::ComposeObjectRequest const &) const
virtual IsIdempotent(internal::RewriteObjectRequest const &) const
virtual IsIdempotent(internal::RestoreObjectRequest const &) const
virtual IsIdempotent(internal::ResumableUploadRequest const &) const
virtual IsIdempotent(internal::UploadChunkRequest const &) const
virtual IsIdempotent(internal::ListBucketAclRequest const &) const
virtual IsIdempotent(internal::CreateBucketAclRequest const &) const
virtual IsIdempotent(internal::DeleteBucketAclRequest const &) const
virtual IsIdempotent(internal::GetBucketAclRequest const &) const
virtual IsIdempotent(internal::UpdateBucketAclRequest const &) const
virtual IsIdempotent(internal::PatchBucketAclRequest const &) const
virtual IsIdempotent(internal::ListObjectAclRequest const &) const
virtual IsIdempotent(internal::CreateObjectAclRequest const &) const
virtual IsIdempotent(internal::DeleteObjectAclRequest const &) const
virtual IsIdempotent(internal::GetObjectAclRequest const &) const
virtual IsIdempotent(internal::UpdateObjectAclRequest const &) const
virtual IsIdempotent(internal::PatchObjectAclRequest const &) const
virtual IsIdempotent(internal::ListDefaultObjectAclRequest const &) const
virtual IsIdempotent(internal::CreateDefaultObjectAclRequest const &) const
virtual IsIdempotent(internal::DeleteDefaultObjectAclRequest const &) const
virtual IsIdempotent(internal::GetDefaultObjectAclRequest const &) const
virtual IsIdempotent(internal::UpdateDefaultObjectAclRequest const &) const
virtual IsIdempotent(internal::PatchDefaultObjectAclRequest const &) const
virtual IsIdempotent(internal::GetProjectServiceAccountRequest const &) const
virtual IsIdempotent(internal::ListHmacKeysRequest const &) const
virtual IsIdempotent(internal::CreateHmacKeyRequest const &) const
virtual IsIdempotent(internal::DeleteHmacKeyRequest const &) const
virtual IsIdempotent(internal::GetHmacKeyRequest const &) const
virtual IsIdempotent(internal::UpdateHmacKeyRequest const &) const
virtual IsIdempotent(internal::SignBlobRequest const &) const
virtual IsIdempotent(internal::ListNotificationsRequest const &) const
virtual IsIdempotent(internal::CreateNotificationRequest const &) const
virtual IsIdempotent(internal::GetNotificationRequest const &) const
virtual IsIdempotent(internal::DeleteNotificationRequest const &) const
virtual clone() const
BucketAccessControl
Overview
Constructors
BucketAccessControl()
Operators
operator==(BucketAccessControl const &, BucketAccessControl const &)
operator!=(BucketAccessControl const &, BucketAccessControl const &)
Functions
bucket() const
domain() const
email() const
entity() const
entity_id() const
etag() const
id() const
kind() const
has_project_team() const
project_team() const
project_team_as_optional() const
role() const
self_link() const
set_entity(std::string)
set_role(std::string)
set_bucket(std::string)
set_domain(std::string)
set_email(std::string)
set_entity_id(std::string)
set_etag(std::string)
set_id(std::string)
set_kind(std::string)
set_project_team(ProjectTeam)
set_self_link(std::string)
static ROLE_OWNER()
static ROLE_READER()
static TEAM_EDITORS()
static TEAM_OWNERS()
static TEAM_VIEWERS()
BucketAccessControlPatchBuilder
Overview
Constructors
BucketAccessControlPatchBuilder()
Functions
BuildPatch() const
set_entity(std::string const &)
delete_entity()
set_role(std::string const &)
delete_role()
BucketMetadata
Overview
Constructors
BucketMetadata()
Operators
operator==(BucketMetadata const &, BucketMetadata const &)
operator!=(BucketMetadata const &, BucketMetadata const &)
Functions
acl() const
mutable_acl()
set_acl(std::vector< BucketAccessControl >)
has_autoclass() const
autoclass() const
autoclass_as_optional() const
set_autoclass(BucketAutoclass)
reset_autoclass()
has_billing() const
billing() const
billing_as_optional() const
set_billing(BucketBilling const &)
reset_billing()
default_event_based_hold() const
set_default_event_based_hold(bool)
cors() const
mutable_cors()
set_cors(std::vector< CorsEntry >)
default_acl() const
mutable_default_acl()
set_default_acl(std::vector< ObjectAccessControl >)
has_encryption() const
encryption() const
encryption_as_optional() const
set_encryption(BucketEncryption)
reset_encryption()
has_hierarchical_namespace() const
hierarchical_namespace() const
hierarchical_namespace_as_optional() const
set_hierarchical_namespace(BucketHierarchicalNamespace)
reset_hierarchical_namespace()
has_iam_configuration() const
iam_configuration() const
iam_configuration_as_optional() const
set_iam_configuration(BucketIamConfiguration)
reset_iam_configuration()
has_label(std::string const &) const
label(std::string const &) const
delete_label(std::string const &)
upsert_label(std::string, std::string)
labels() const
mutable_labels()
has_lifecycle() const
lifecycle() const
lifecycle_as_optional() const
set_lifecycle(BucketLifecycle)
reset_lifecycle()
has_logging() const
logging() const
logging_as_optional() const
set_logging(BucketLogging)
reset_logging()
has_retention_policy() const
retention_policy() const
retention_policy_as_optional() const
set_retention_policy(BucketRetentionPolicy)
set_retention_policy(std::chrono::seconds)
reset_retention_policy()
rpo() const
set_rpo(std::string)
has_soft_delete_policy() const
soft_delete_policy() const
soft_delete_policy_as_optional() const
set_soft_delete_policy(BucketSoftDeletePolicy)
set_soft_delete_policy(std::chrono::seconds)
reset_soft_delete_policy()
storage_class() const
set_storage_class(std::string)
versioning() const
has_versioning() const
enable_versioning()
disable_versioning()
reset_versioning()
set_versioning(absl::optional< BucketVersioning >)
has_website() const
website() const
website_as_optional() const
set_website(BucketWebsite)
reset_website()
has_custom_placement_config() const
custom_placement_config() const
custom_placement_config_as_optional() const
set_custom_placement_config(BucketCustomPlacementConfig)
reset_custom_placement_config()
etag() const
set_etag(std::string)
id() const
set_id(std::string)
kind() const
set_kind(std::string)
location() const
set_location(std::string)
location_type() const
set_location_type(std::string)
metageneration() const
set_metageneration(std::int64_t)
name() const
set_name(std::string)
has_object_retention() const
object_retention() const
set_object_retention(BucketObjectRetention)
reset_object_retention()
has_owner() const
owner() const
set_owner(Owner)
reset_owner()
project_number() const
set_project_number(std::int64_t)
self_link() const
set_self_link(std::string)
time_created() const
set_time_created(std::chrono::system_clock::time_point)
updated() const
set_updated(std::chrono::system_clock::time_point)
BucketMetadataPatchBuilder
Overview
Constructors
BucketMetadataPatchBuilder()
Functions
BuildPatch() const
SetAcl(std::vector< BucketAccessControl > const &)
ResetAcl()
SetAutoclass(BucketAutoclass const &)
ResetAutoclass()
SetBilling(BucketBilling const &)
ResetBilling()
SetCors(std::vector< CorsEntry > const &)
ResetCors()
SetDefaultEventBasedHold(bool)
ResetDefaultEventBasedHold()
SetDefaultAcl(std::vector< ObjectAccessControl > const &)
ResetDefaultAcl()
SetIamConfiguration(BucketIamConfiguration const &)
ResetIamConfiguration()
SetHierarchicalNamespace(BucketHierarchicalNamespace const &)
ResetHierarchicalNamespace()
SetEncryption(BucketEncryption const &)
ResetEncryption()
SetLabel(std::string const &, std::string const &)
ResetLabel(std::string const &)
ResetLabels()
SetLifecycle(BucketLifecycle const &)
ResetLifecycle()
SetLogging(BucketLogging const &)
ResetLogging()
SetName(std::string const &)
ResetName()
SetRetentionPolicy(BucketRetentionPolicy const &)
SetRetentionPolicy(std::chrono::seconds)
ResetRetentionPolicy()
SetRpo(std::string const &)
ResetRpo()
SetSoftDeletePolicy(BucketSoftDeletePolicy const &)
SetSoftDeletePolicy(std::chrono::seconds)
ResetSoftDeletePolicy()
SetStorageClass(std::string const &)
ResetStorageClass()
SetVersioning(BucketVersioning const &)
ResetVersioning()
SetWebsite(BucketWebsite const &)
ResetWebsite()
ChannelOptions
Overview
Functions
ssl_root_path() const
set_ssl_root_path(std::string)
Client
Overview
Constructors
NoDecorations
Overview
Client(Options)
Client(ClientOptions, Policies &&...)
Client(std::shared_ptr< oauth2::Credentials >, Policies &&...)
Client(std::shared_ptr< internal::StorageConnection > const &, Policies &&...)
Client(std::shared_ptr< internal::StorageConnection >, NoDecorations)
Operators
operator==(Client const &, Client const &)
operator!=(Client const &, Client const &)
Functions
ListBucketsForProject(std::string const &, Options &&...)
ListBuckets(Options &&...)
CreateBucket(std::string, BucketMetadata, Options &&...)
CreateBucketForProject(std::string, std::string, BucketMetadata, Options &&...)
GetBucketMetadata(std::string const &, Options &&...)
DeleteBucket(std::string const &, Options &&...)
UpdateBucket(std::string, BucketMetadata, Options &&...)
PatchBucket(std::string, BucketMetadata const &, BucketMetadata const &, Options &&...)
PatchBucket(std::string, BucketMetadataPatchBuilder const &, Options &&...)
GetNativeBucketIamPolicy(std::string const &, Options &&...)
SetNativeBucketIamPolicy(std::string const &, NativeIamPolicy const &, Options &&...)
TestBucketIamPermissions(std::string, std::vector< std::string >, Options &&...)
LockBucketRetentionPolicy(std::string const &, std::uint64_t, Options &&...)
InsertObject(std::string const &, std::string const &, absl::string_view, Options &&...)
InsertObject(std::string const &, std::string const &, std::string const &, Options &&...)
InsertObject(std::string const &, std::string const &, char const *, Options &&...)
CopyObject(std::string, std::string, std::string, std::string, Options &&...)
GetObjectMetadata(std::string const &, std::string const &, Options &&...)
ListObjects(std::string const &, Options &&...)
ListObjectsAndPrefixes(std::string const &, Options &&...)
ReadObject(std::string const &, std::string const &, Options &&...)
WriteObject(std::string const &, std::string const &, Options &&...)
UploadFile(std::string const &, std::string const &, std::string const &, Options &&...)
DeleteResumableUpload(std::string const &, Options &&...)
DownloadToFile(std::string const &, std::string const &, std::string const &, Options &&...)
DeleteObject(std::string const &, std::string const &, Options &&...)
UpdateObject(std::string, std::string, ObjectMetadata, Options &&...)
PatchObject(std::string, std::string, ObjectMetadata const &, ObjectMetadata const &, Options &&...)
PatchObject(std::string, std::string, ObjectMetadataPatchBuilder const &, Options &&...)
ComposeObject(std::string, std::vector< ComposeSourceObject >, std::string, Options &&...)
RewriteObject(std::string, std::string, std::string, std::string, Options &&...)
ResumeRewriteObject(std::string, std::string, std::string, std::string, std::string, Options &&...)
RewriteObjectBlocking(std::string, std::string, std::string, std::string, Options &&...)
RestoreObject(std::string, std::string, std::int64_t, Options &&...)
ListBucketAcl(std::string const &, Options &&...)
CreateBucketAcl(std::string const &, std::string const &, std::string const &, Options &&...)
DeleteBucketAcl(std::string const &, std::string const &, Options &&...)
GetBucketAcl(std::string const &, std::string const &, Options &&...)
UpdateBucketAcl(std::string const &, BucketAccessControl const &, Options &&...)
PatchBucketAcl(std::string const &, std::string const &, BucketAccessControl const &, BucketAccessControl const &, Options &&...)
PatchBucketAcl(std::string const &, std::string const &, BucketAccessControlPatchBuilder const &, Options &&...)
ListObjectAcl(std::string const &, std::string const &, Options &&...)
CreateObjectAcl(std::string const &, std::string const &, std::string const &, std::string const &, Options &&...)
DeleteObjectAcl(std::string const &, std::string const &, std::string const &, Options &&...)
GetObjectAcl(std::string const &, std::string const &, std::string const &, Options &&...)
UpdateObjectAcl(std::string const &, std::string const &, ObjectAccessControl const &, Options &&...)
PatchObjectAcl(std::string const &, std::string const &, std::string const &, ObjectAccessControl const &, ObjectAccessControl const &, Options &&...)
PatchObjectAcl(std::string const &, std::string const &, std::string const &, ObjectAccessControlPatchBuilder const &, Options &&...)
ListDefaultObjectAcl(std::string const &, Options &&...)
CreateDefaultObjectAcl(std::string const &, std::string const &, std::string const &, Options &&...)
DeleteDefaultObjectAcl(std::string const &, std::string const &, Options &&...)
GetDefaultObjectAcl(std::string const &, std::string const &, Options &&...)
UpdateDefaultObjectAcl(std::string const &, ObjectAccessControl const &, Options &&...)
PatchDefaultObjectAcl(std::string const &, std::string const &, ObjectAccessControl const &, ObjectAccessControl const &, Options &&...)
PatchDefaultObjectAcl(std::string const &, std::string const &, ObjectAccessControlPatchBuilder const &, Options &&...)
GetServiceAccountForProject(std::string const &, Options &&...)
GetServiceAccount(Options &&...)
ListHmacKeys(Options &&...)
CreateHmacKey(std::string, Options &&...)
DeleteHmacKey(std::string, Options &&...)
GetHmacKey(std::string, Options &&...)
UpdateHmacKey(std::string, HmacKeyMetadata, Options &&...)
CreateV2SignedUrl(std::string, std::string, std::string, Options &&...)
CreateV4SignedUrl(std::string, std::string, std::string, Options &&...)
ListNotifications(std::string const &, Options &&...)
CreateNotification(std::string const &, std::string const &, NotificationMetadata, Options &&...)
CreateNotification(std::string const &, std::string const &, std::string const &, NotificationMetadata, Options &&...)
GetNotification(std::string const &, std::string const &, Options &&...)
DeleteNotification(std::string const &, std::string const &, Options &&...)
CreateSignedPolicyDocument(PolicyDocument, Options &&...)
GenerateSignedPostPolicyV4(PolicyDocumentV4, Options &&...)
raw_client() const
static CreateDefaultClient()
ClientOptions
Overview
Constructors
ClientOptions(std::shared_ptr< oauth2::Credentials >)
ClientOptions(std::shared_ptr< oauth2::Credentials >, ChannelOptions)
Functions
download_stall_timeout() const
set_download_stall_timeout(std::chrono::seconds)
credentials() const
set_credentials(std::shared_ptr< oauth2::Credentials >)
endpoint() const
set_endpoint(std::string)
iam_endpoint() const
set_iam_endpoint(std::string)
version() const
set_version(std::string)
enable_http_tracing() const
set_enable_http_tracing(bool)
enable_raw_client_tracing() const
set_enable_raw_client_tracing(bool)
project_id() const
set_project_id(std::string)
connection_pool_size() const
set_connection_pool_size(std::size_t)
download_buffer_size() const
SetDownloadBufferSize(std::size_t)
upload_buffer_size() const
SetUploadBufferSize(std::size_t)
user_agent_prefix() const
add_user_agent_prefix(std::string)
add_user_agent_prefx(std::string const &)
maximum_simple_upload_size() const
set_maximum_simple_upload_size(std::size_t)
enable_ssl_locking_callbacks() const
set_enable_ssl_locking_callbacks(bool)
enable_sigpipe_handler() const
set_enable_sigpipe_handler(bool)
maximum_socket_recv_size() const
set_maximum_socket_recv_size(std::size_t)
maximum_socket_send_size() const
set_maximum_socket_send_size(std::size_t)
channel_options()
channel_options() const
static CreateDefaultClientOptions()
static CreateDefaultClientOptions(ChannelOptions const &)
CustomHeader
Overview
Constructors
CustomHeader()
CustomHeader(std::string, std::string)
Functions
custom_header_name() const
HashMismatchError
Overview
Constructors
HashMismatchError(std::string const &, std::string, std::string)
Functions
received_hash() const
computed_hash() const
HmacKeyMetadata
Overview
Constructors
HmacKeyMetadata()
Functions
set_access_id(std::string)
set_id(std::string)
set_kind(std::string)
set_project_id(std::string)
set_service_account_email(std::string)
set_time_created(std::chrono::system_clock::time_point)
set_updated(std::chrono::system_clock::time_point)
access_id() const
etag() const
set_etag(std::string)
id() const
kind() const
project_id() const
service_account_email() const
state() const
set_state(std::string)
time_created() const
updated() const
static state_active()
static state_inactive()
static state_deleted()
IdempotencyPolicy
Overview
Functions
IsIdempotent(internal::ListBucketsRequest const &) const
IsIdempotent(internal::CreateBucketRequest const &) const
IsIdempotent(internal::GetBucketMetadataRequest const &) const
IsIdempotent(internal::DeleteBucketRequest const &) const
IsIdempotent(internal::UpdateBucketRequest const &) const
IsIdempotent(internal::PatchBucketRequest const &) const
IsIdempotent(internal::GetBucketIamPolicyRequest const &) const
IsIdempotent(internal::SetNativeBucketIamPolicyRequest const &) const
IsIdempotent(internal::TestBucketIamPermissionsRequest const &) const
IsIdempotent(internal::LockBucketRetentionPolicyRequest const &) const
IsIdempotent(internal::InsertObjectMediaRequest const &) const
IsIdempotent(internal::CopyObjectRequest const &) const
IsIdempotent(internal::GetObjectMetadataRequest const &) const
IsIdempotent(internal::ReadObjectRangeRequest const &) const
IsIdempotent(internal::ListObjectsRequest const &) const
IsIdempotent(internal::DeleteObjectRequest const &) const
IsIdempotent(internal::UpdateObjectRequest const &) const
IsIdempotent(internal::PatchObjectRequest const &) const
IsIdempotent(internal::ComposeObjectRequest const &) const
IsIdempotent(internal::RewriteObjectRequest const &) const
virtual IsIdempotent(internal::RestoreObjectRequest const &) const
IsIdempotent(internal::ResumableUploadRequest const &) const
IsIdempotent(internal::UploadChunkRequest const &) const
IsIdempotent(internal::ListBucketAclRequest const &) const
IsIdempotent(internal::CreateBucketAclRequest const &) const
IsIdempotent(internal::DeleteBucketAclRequest const &) const
IsIdempotent(internal::GetBucketAclRequest const &) const
IsIdempotent(internal::UpdateBucketAclRequest const &) const
IsIdempotent(internal::PatchBucketAclRequest const &) const
IsIdempotent(internal::ListObjectAclRequest const &) const
IsIdempotent(internal::CreateObjectAclRequest const &) const
IsIdempotent(internal::DeleteObjectAclRequest const &) const
IsIdempotent(internal::GetObjectAclRequest const &) const
IsIdempotent(internal::UpdateObjectAclRequest const &) const
IsIdempotent(internal::PatchObjectAclRequest const &) const
IsIdempotent(internal::ListDefaultObjectAclRequest const &) const
IsIdempotent(internal::CreateDefaultObjectAclRequest const &) const
IsIdempotent(internal::DeleteDefaultObjectAclRequest const &) const
IsIdempotent(internal::GetDefaultObjectAclRequest const &) const
IsIdempotent(internal::UpdateDefaultObjectAclRequest const &) const
IsIdempotent(internal::PatchDefaultObjectAclRequest const &) const
IsIdempotent(internal::GetProjectServiceAccountRequest const &) const
IsIdempotent(internal::ListHmacKeysRequest const &) const
IsIdempotent(internal::CreateHmacKeyRequest const &) const
IsIdempotent(internal::DeleteHmacKeyRequest const &) const
IsIdempotent(internal::GetHmacKeyRequest const &) const
IsIdempotent(internal::UpdateHmacKeyRequest const &) const
IsIdempotent(internal::SignBlobRequest const &) const
IsIdempotent(internal::ListNotificationsRequest const &) const
IsIdempotent(internal::CreateNotificationRequest const &) const
IsIdempotent(internal::GetNotificationRequest const &) const
IsIdempotent(internal::DeleteNotificationRequest const &) const
clone() const
LifecycleRule
Overview
Constructors
LifecycleRule(LifecycleRuleCondition, LifecycleRuleAction)
Functions
static Delete()
static AbortIncompleteMultipartUpload()
static SetStorageClassStandard()
static SetStorageClassMultiRegional()
static SetStorageClassRegional()
static SetStorageClassNearline()
static SetStorageClassColdline()
static SetStorageClassDurableReducedAvailability()
static SetStorageClassArchive()
static SetStorageClass(std::string)
static MaxAge(std::int32_t)
static CreatedBefore(absl::CivilDay)
static IsLive(bool)
static MatchesStorageClass(std::string)
static MatchesStorageClasses(std::initializer_list< std::string >)
static MatchesStorageClasses(Iterator, Iterator)
static MatchesStorageClassStandard()
static MatchesStorageClassMultiRegional()
static MatchesStorageClassRegional()
static MatchesStorageClassNearline()
static MatchesStorageClassColdline()
static MatchesStorageClassDurableReducedAvailability()
static MatchesStorageClassArchive()
static NumNewerVersions(std::int32_t)
static DaysSinceNoncurrentTime(std::int32_t)
static NoncurrentTimeBefore(absl::CivilDay)
static DaysSinceCustomTime(std::int32_t)
static CustomTimeBefore(absl::CivilDay)
static MatchesPrefix(std::string)
static MatchesPrefixes(std::initializer_list< std::string >)
static MatchesSuffix(std::string)
static MatchesSuffixes(std::initializer_list< std::string >)
action() const
condition() const
static ConditionConjunction(Condition &&...)
LimitedErrorCountRetryPolicy
Overview
Constructors
LimitedErrorCountRetryPolicy(int)
LimitedErrorCountRetryPolicy(LimitedErrorCountRetryPolicy &&)
LimitedErrorCountRetryPolicy(LimitedErrorCountRetryPolicy const &)
Functions
maximum_failures() const
virtual OnFailure(Status const &)
virtual IsExhausted() const
virtual IsPermanentFailure(Status const &) const
virtual clone() const
Types
BaseType
LimitedTimeRetryPolicy
Overview
Constructors
LimitedTimeRetryPolicy(std::chrono::duration< DurationRep, DurationPeriod >)
LimitedTimeRetryPolicy(LimitedTimeRetryPolicy &&)
LimitedTimeRetryPolicy(LimitedTimeRetryPolicy const &)
Functions
maximum_duration() const
virtual OnFailure(Status const &)
virtual IsExhausted() const
virtual IsPermanentFailure(Status const &) const
virtual clone() const
Types
BaseType
MaxStreams
Overview
Constructors
MaxStreams(std::size_t)
Functions
value() const
MinStreamSize
Overview
Constructors
MinStreamSize(std::uintmax_t)
Functions
value() const
NativeExpression
Overview
Constructors
NativeExpression(std::string, std::string, std::string, std::string)
NativeExpression(NativeExpression const &)
NativeExpression(NativeExpression &&)
Operators
operator==(NativeExpression const &, NativeExpression const &)
operator!=(NativeExpression const &, NativeExpression const &)
operator=(NativeExpression const &)
operator=(NativeExpression &&)
Functions
expression() const
set_expression(std::string)
title() const
set_title(std::string)
description() const
set_description(std::string)
location() const
set_location(std::string)
NativeIamBinding
Overview
Constructors
NativeIamBinding(std::string, std::vector< std::string >)
NativeIamBinding(std::string, std::vector< std::string >, NativeExpression)
NativeIamBinding(NativeIamBinding const &)
NativeIamBinding(NativeIamBinding &&)
Operators
operator==(NativeIamBinding const &, NativeIamBinding const &)
operator!=(NativeIamBinding const &, NativeIamBinding const &)
operator=(NativeIamBinding const &)
operator=(NativeIamBinding &&)
Functions
role() const
set_role(std::string)
members() const
members()
condition() const
condition()
set_condition(NativeExpression)
has_condition() const
clear_condition()
NativeIamPolicy
Overview
Constructors
NativeIamPolicy(std::vector< NativeIamBinding >, std::string, std::int32_t)
NativeIamPolicy(NativeIamPolicy const &)
Operators
operator=(NativeIamPolicy const &)
operator==(NativeIamPolicy const &, NativeIamPolicy const &)
operator!=(NativeIamPolicy const &, NativeIamPolicy const &)
Functions
ToJson() const
version() const
set_version(std::int32_t)
etag() const
set_etag(std::string)
bindings()
bindings() const
static CreateFromJson(std::string const &)
NotificationMetadata
Overview
Constructors
NotificationMetadata()
NotificationMetadata(std::string, std::string)
Functions
has_custom_attribute(std::string const &) const
custom_attribute(std::string const &) const
delete_custom_attribute(std::string const &)
upsert_custom_attributes(std::string, std::string)
custom_attributes() const
mutable_custom_attributes()
event_type_size() const
event_type(std::size_t) const
append_event_type(std::string)
event_types() const
mutable_event_types()
JsonPayloadForInsert() const
etag() const
id() const
kind() const
object_name_prefix() const
set_object_name_prefix(std::string)
payload_format() const
set_payload_format(std::string)
self_link() const
topic() const
set_topic(std::string)
ObjectAccessControl
Overview
Constructors
ObjectAccessControl()
Operators
operator==(ObjectAccessControl const &, ObjectAccessControl const &)
operator!=(ObjectAccessControl const &, ObjectAccessControl const &)
Functions
bucket() const
object() const
generation() const
domain() const
email() const
entity() const
entity_id() const
etag() const
id() const
kind() const
has_project_team() const
project_team() const
project_team_as_optional() const
role() const
self_link() const
set_entity(std::string)
set_role(std::string)
set_bucket(std::string)
set_object(std::string)
set_generation(std::int64_t)
set_domain(std::string)
set_email(std::string)
set_entity_id(std::string)
set_etag(std::string)
set_id(std::string)
set_kind(std::string)
set_project_team(ProjectTeam)
set_self_link(std::string)
static ROLE_OWNER()
static ROLE_READER()
static TEAM_EDITORS()
static TEAM_OWNERS()
static TEAM_VIEWERS()
ObjectAccessControlPatchBuilder
Overview
Constructors
ObjectAccessControlPatchBuilder()
Functions
BuildPatch() const
set_entity(std::string const &)
delete_entity()
set_role(std::string const &)
delete_role()
ObjectMetadata
Overview
Constructors
ObjectMetadata()
Operators
operator==(ObjectMetadata const &, ObjectMetadata const &)
operator!=(ObjectMetadata const &, ObjectMetadata const &)
Functions
has_metadata(std::string const &) const
metadata(std::string const &) const
delete_metadata(std::string const &)
upsert_metadata(std::string, std::string)
metadata() const
mutable_metadata()
acl() const
mutable_acl()
set_acl(std::vector< ObjectAccessControl >)
bucket() const
set_bucket(std::string)
cache_control() const
set_cache_control(std::string)
component_count() const
set_component_count(std::int32_t)
content_disposition() const
set_content_disposition(std::string)
content_encoding() const
set_content_encoding(std::string)
content_language() const
set_content_language(std::string)
content_type() const
set_content_type(std::string)
crc32c() const
set_crc32c(std::string)
has_custom_time() const
custom_time() const
set_custom_time(std::chrono::system_clock::time_point)
reset_custom_time()
has_customer_encryption() const
customer_encryption() const
set_customer_encryption(CustomerEncryption)
reset_customer_encryption()
etag() const
set_etag(std::string)
event_based_hold() const
set_event_based_hold(bool)
generation() const
set_generation(std::int64_t)
id() const
set_id(std::string)
kind() const
set_kind(std::string)
kms_key_name() const
set_kms_key_name(std::string)
md5_hash() const
set_md5_hash(std::string)
media_link() const
set_media_link(std::string)
metageneration() const
set_metageneration(std::int64_t)
name() const
set_name(std::string)
has_owner() const
owner() const
set_owner(Owner)
reset_owner()
retention_expiration_time() const
set_retention_expiration_time(std::chrono::system_clock::time_point)
has_retention() const
retention() const
set_retention(ObjectRetention)
reset_retention()
self_link() const
set_self_link(std::string)
size() const
set_size(std::uint64_t)
storage_class() const
set_storage_class(std::string)
temporary_hold() const
set_temporary_hold(bool)
time_created() const
set_time_created(std::chrono::system_clock::time_point)
time_deleted() const
set_time_deleted(std::chrono::system_clock::time_point)
time_storage_class_updated() const
set_time_storage_class_updated(std::chrono::system_clock::time_point)
updated() const
set_updated(std::chrono::system_clock::time_point)
has_soft_delete_time() const
soft_delete_time() const
set_soft_delete_time(std::chrono::system_clock::time_point)
reset_soft_delete_time()
has_hard_delete_time() const
hard_delete_time() const
set_hard_delete_time(std::chrono::system_clock::time_point)
reset_hard_delete_time()
ObjectMetadataPatchBuilder
Overview
Constructors
ObjectMetadataPatchBuilder()
Functions
BuildPatch() const
SetAcl(std::vector< ObjectAccessControl > const &)
ResetAcl()
SetCacheControl(std::string const &)
ResetCacheControl()
SetContentDisposition(std::string const &)
ResetContentDisposition()
SetContentEncoding(std::string const &)
ResetContentEncoding()
SetContentLanguage(std::string const &)
ResetContentLanguage()
SetContentType(std::string const &)
ResetContentType()
SetEventBasedHold(bool)
ResetEventBasedHold()
SetMetadata(std::string const &, std::string const &)
ResetMetadata(std::string const &)
ResetMetadata()
SetTemporaryHold(bool)
ResetTemporaryHold()
SetCustomTime(std::chrono::system_clock::time_point)
ResetCustomTime()
SetRetention(ObjectRetention const &)
ResetRetention()
ObjectReadStream
Overview
Constructors
ObjectReadStream()
ObjectReadStream(std::unique_ptr< internal::ObjectReadStreambuf >)
ObjectReadStream(ObjectReadStream &&)
ObjectReadStream(ObjectReadStream const &)
Operators
operator=(ObjectReadStream &&)
operator=(ObjectReadStream const &)
Functions
generation() const
metageneration() const
storage_class() const
size() const
swap(ObjectReadStream &)
IsOpen() const
Close()
status() const &
received_hash() const
computed_hash() const
headers() const
ObjectRewriter
Overview
Constructors
ObjectRewriter(std::shared_ptr< internal::StorageConnection >, internal::RewriteObjectRequest)
Functions
Iterate()
CurrentProgress() const
Result()
ResultWithProgressCallback(Functor)
token() const
ObjectWriteStream
Overview
Constructors
ObjectWriteStream()
ObjectWriteStream(std::unique_ptr< internal::ObjectWriteStreambuf >)
ObjectWriteStream(ObjectWriteStream &&)
ObjectWriteStream(ObjectWriteStream const &)
Operators
operator=(ObjectWriteStream &&)
operator=(ObjectWriteStream const &)
Functions
metadata() const &
metadata() &&
received_hash() const
computed_hash() const
headers() const
payload() const
swap(ObjectWriteStream &)
IsOpen() const
Close()
resumable_session_id() const
next_expected_byte() const
Suspend() &&
last_status() const
PolicyDocumentCondition
Overview
Constructors
PolicyDocumentCondition()
PolicyDocumentCondition(std::vector< std::string >)
Functions
static ExactMatch(std::string const &, std::string const &)
static ExactMatchObject(std::string const &, std::string const &)
static StartsWith(std::string const &, std::string const &)
static ContentLengthRange(std::int32_t, std::int32_t)
elements() const
RetryPolicy
Overview
Functions
clone() const
OnFailure(Status const &)
OnFailure(Status const &)
IsExhausted() const
IsExhausted() const
IsPermanentFailure(Status const &) const
IsPermanentFailure(Status const &) const
ServiceAccount
Overview
Constructors
ServiceAccount()
Functions
email_address() const
set_email_address(std::string)
kind() const
set_kind(std::string)
StrictIdempotencyPolicy
Overview
Constructors
StrictIdempotencyPolicy()
Functions
virtual IsIdempotent(internal::ListBucketsRequest const &) const
virtual IsIdempotent(internal::CreateBucketRequest const &) const
virtual IsIdempotent(internal::GetBucketMetadataRequest const &) const
virtual IsIdempotent(internal::DeleteBucketRequest const &) const
virtual IsIdempotent(internal::UpdateBucketRequest const &) const
virtual IsIdempotent(internal::PatchBucketRequest const &) const
virtual IsIdempotent(internal::GetBucketIamPolicyRequest const &) const
virtual IsIdempotent(internal::SetNativeBucketIamPolicyRequest const &) const
virtual IsIdempotent(internal::TestBucketIamPermissionsRequest const &) const
virtual IsIdempotent(internal::LockBucketRetentionPolicyRequest const &) const
virtual IsIdempotent(internal::InsertObjectMediaRequest const &) const
virtual IsIdempotent(internal::CopyObjectRequest const &) const
virtual IsIdempotent(internal::GetObjectMetadataRequest const &) const
virtual IsIdempotent(internal::ReadObjectRangeRequest const &) const
virtual IsIdempotent(internal::ListObjectsRequest const &) const
virtual IsIdempotent(internal::DeleteObjectRequest const &) const
virtual IsIdempotent(internal::UpdateObjectRequest const &) const
virtual IsIdempotent(internal::PatchObjectRequest const &) const
virtual IsIdempotent(internal::ComposeObjectRequest const &) const
virtual IsIdempotent(internal::RewriteObjectRequest const &) const
virtual IsIdempotent(internal::RestoreObjectRequest const &) const
virtual IsIdempotent(internal::ResumableUploadRequest const &) const
virtual IsIdempotent(internal::UploadChunkRequest const &) const
virtual IsIdempotent(internal::ListBucketAclRequest const &) const
virtual IsIdempotent(internal::CreateBucketAclRequest const &) const
virtual IsIdempotent(internal::DeleteBucketAclRequest const &) const
virtual IsIdempotent(internal::GetBucketAclRequest const &) const
virtual IsIdempotent(internal::UpdateBucketAclRequest const &) const
virtual IsIdempotent(internal::PatchBucketAclRequest const &) const
virtual IsIdempotent(internal::ListObjectAclRequest const &) const
virtual IsIdempotent(internal::CreateObjectAclRequest const &) const
virtual IsIdempotent(internal::DeleteObjectAclRequest const &) const
virtual IsIdempotent(internal::GetObjectAclRequest const &) const
virtual IsIdempotent(internal::UpdateObjectAclRequest const &) const
virtual IsIdempotent(internal::PatchObjectAclRequest const &) const
virtual IsIdempotent(internal::ListDefaultObjectAclRequest const &) const
virtual IsIdempotent(internal::CreateDefaultObjectAclRequest const &) const
virtual IsIdempotent(internal::DeleteDefaultObjectAclRequest const &) const
virtual IsIdempotent(internal::GetDefaultObjectAclRequest const &) const
virtual IsIdempotent(internal::UpdateDefaultObjectAclRequest const &) const
virtual IsIdempotent(internal::PatchDefaultObjectAclRequest const &) const
virtual IsIdempotent(internal::GetProjectServiceAccountRequest const &) const
virtual IsIdempotent(internal::ListHmacKeysRequest const &) const
virtual IsIdempotent(internal::CreateHmacKeyRequest const &) const
virtual IsIdempotent(internal::DeleteHmacKeyRequest const &) const
virtual IsIdempotent(internal::GetHmacKeyRequest const &) const
virtual IsIdempotent(internal::UpdateHmacKeyRequest const &) const
virtual IsIdempotent(internal::SignBlobRequest const &) const
virtual IsIdempotent(internal::ListNotificationsRequest const &) const
virtual IsIdempotent(internal::CreateNotificationRequest const &) const
virtual IsIdempotent(internal::GetNotificationRequest const &) const
virtual IsIdempotent(internal::DeleteNotificationRequest const &) const
virtual clone() const
Structs
AcceptEncoding
Overview
Functions
static header_name()
AddExtensionFieldOption
Overview
Constructors
AddExtensionFieldOption()
AddExtensionFieldOption(std::string, std::string)
Functions
static name()
AddExtensionHeaderOption
Overview
Constructors
AddExtensionHeaderOption()
AddExtensionHeaderOption(std::string, std::string)
Functions
static name()
AddQueryParameterOption
Overview
Constructors
AddQueryParameterOption()
AddQueryParameterOption(std::string, std::string)
AddQueryParameterOption(char const *, std::string)
Functions
static name()
AutoFinalize
Overview
Constructors
AutoFinalize(AutoFinalizeConfig)
AutoFinalize()
Functions
static name()
BackoffPolicyOption
Overview
Types
Type
BucketAutoclass
Overview
Constructors
BucketAutoclass(bool)
BucketAutoclass(bool, std::string)
BucketAutoclass(bool, std::chrono::system_clock::time_point)
BucketAutoclass(bool, std::chrono::system_clock::time_point, std::string, std::chrono::system_clock::time_point)
BucketBilling
Overview
Constructors
BucketBilling()
BucketBilling(bool)
BucketBoundHostname
Overview
Constructors
BucketBoundHostname()
Functions
static option_name()
BucketCustomPlacementConfig
Overview
BucketEncryption
Overview
BucketHierarchicalNamespace
Overview
BucketIamConfiguration
Overview
BucketLifecycle
Overview
BucketLogging
Overview
BucketObjectRetention
Overview
BucketRetentionPolicy
Overview
BucketSoftDeletePolicy
Overview
BucketVersioning
Overview
Constructors
BucketVersioning()
BucketVersioning(bool)
BucketWebsite
Overview
ComposeSourceObject
Overview
ConnectionPoolSizeOption
Overview
Types
Type
ContentEncoding
Overview
Functions
static well_known_parameter_name()
ContentType
Overview
Functions
static header_name()
CopySourceAcl
Overview
Functions
static well_known_parameter_name()
CorsEntry
Overview
Crc32cChecksumValue
Overview
Constructors
Crc32cChecksumValue()
Functions
static name()
CustomerEncryption
Overview
Deleted
Overview
Functions
static well_known_parameter_name()
Delimiter
Overview
Functions
static well_known_parameter_name()
DestinationKmsKeyName
Overview
Functions
static well_known_parameter_name()
DestinationPredefinedAcl
Overview
Functions
static well_known_parameter_name()
static AuthenticatedRead()
static BucketOwnerFullControl()
static BucketOwnerRead()
static Private()
static ProjectPrivate()
static PublicRead()
DisableCrc32cChecksum
Overview
Constructors
DisableCrc32cChecksum()
Functions
static name()
DisableMD5Hash
Overview
Constructors
DisableMD5Hash()
Functions
static name()
DownloadBufferSizeOption
Overview
Types
Type
DownloadStallMinimumRateOption
Overview
Types
Type
DownloadStallTimeoutOption
Overview
Types
Type
EnableCurlSigpipeHandlerOption
Overview
Types
Type
EnableCurlSslLockingOption
Overview
Types
Type
EnableObjectRetention
Overview
Functions
static well_known_parameter_name()
EncryptionKey
Overview
Functions
static FromBinaryKey(std::string const &)
static FromBase64Key(std::string const &)
static prefix()
EncryptionKeyData
Overview
EndOffset
Overview
Functions
static well_known_parameter_name()
ExpirationTime
Overview
Constructors
ExpirationTime()
Functions
static name()
Fields
Overview
Functions
static well_known_parameter_name()
Generation
Overview
Functions
static well_known_parameter_name()
IamEndpointOption
Overview
Types
Type
IdempotencyPolicyOption
Overview
Types
Type
IfGenerationMatch
Overview
Functions
static well_known_parameter_name()
IfGenerationNotMatch
Overview
Functions
static well_known_parameter_name()
IfMatchEtag
Overview
Functions
static header_name()
IfMetagenerationMatch
Overview
Functions
static well_known_parameter_name()
IfMetagenerationNotMatch
Overview
Functions
static well_known_parameter_name()
IfNoneMatchEtag
Overview
Functions
static header_name()
IfSourceGenerationMatch
Overview
Functions
static well_known_parameter_name()
IfSourceGenerationNotMatch
Overview
Functions
static well_known_parameter_name()
IfSourceMetagenerationMatch
Overview
Functions
static well_known_parameter_name()
IfSourceMetagenerationNotMatch
Overview
Functions
static well_known_parameter_name()
IncludeFoldersAsPrefixes
Overview
Functions
static well_known_parameter_name()
IncludeTrai