Google Cloud Storage C++ Client  1.31.1
A C++ Client Library for Google Cloud Storage
Public Member Functions | Static Public Member Functions | List of all members
google::cloud::storage::v1::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::v1::ReadRange::ReadRange ( )
default

◆ ReadRange() [2/2]

google::cloud::storage::v1::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::v1::ReadRange::name ( )
inlinestatic

Definition at line 42 of file download_options.h.