Google Cloud Storage C++ Client  1.42.0
A C++ Client Library for Google Cloud Storage
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.

Definition at line 38 of file download_options.h.

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

Definition at line 40 of file download_options.h.

Member Function Documentation

◆ name()

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

Definition at line 42 of file download_options.h.