Google Cloud Storage C++ Client 2.13.0
A C++ Client Library for Google Cloud Storage
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
google::cloud::storage::ReadRange Struct Reference

Request only a portion of the GCS object in a ReadObject operation. More...

#include <google/cloud/storage/download_options.h>

Public Member Functions

 ReadRange ()=default
 
 ReadRange (std::int64_t begin, std::int64_t end)
 

Static Public Member Functions

static char const * name ()
 

Detailed Description

Request only a portion of the GCS object in a ReadObject operation.

Note that the range is right-open, as it is customary in C++. That is, it excludes the end byte.

Constructor & Destructor Documentation

◆ ReadRange() [1/2]

google::cloud::storage::ReadRange::ReadRange ( )
default

◆ ReadRange() [2/2]

google::cloud::storage::ReadRange::ReadRange ( std::int64_t  begin,
std::int64_t  end 
)
inlineexplicit

Member Function Documentation

◆ name()

static char const * google::cloud::storage::ReadRange::name ( )
inlinestatic