Google Cloud Storage C++ Client  1.40.2
A C++ Client Library for Google Cloud Storage
Public Attributes | List of all members
google::cloud::storage::RewriteProgress Struct Reference

Represents the status of a rewrite operation. More...

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

Public Attributes

std::uint64_t total_bytes_rewritten
std::uint64_t object_size
bool done

Detailed Description

Represents the status of a rewrite operation.

The ObjectRewrite class may require multiple calls to Iterate() to finish the copy. This class represents the progress in a partially completed rewrite. Applications can use this information to inform users of the progress and the expected completion time.

Definition at line 35 of file object_rewriter.h.

Member Data Documentation

◆ done

bool google::cloud::storage::RewriteProgress::done

Definition at line 38 of file object_rewriter.h.

◆ object_size

std::uint64_t google::cloud::storage::RewriteProgress::object_size

Definition at line 37 of file object_rewriter.h.

◆ total_bytes_rewritten

std::uint64_t google::cloud::storage::RewriteProgress::total_bytes_rewritten

Definition at line 36 of file object_rewriter.h.