Controls how the client library resumes uploads and downloads.
Functions
OnStartSuccess()
Notifies the policy about successful connections.
Policies may need to know if a streaming RPC started successfully. For example, they may reset counters or timers when a streaming RPC starts. The resume loop(s) will notify the policy of these events.
Returns
Type
Description
void
OnFinish(Status const &)
Controls what action the resume loop(s) should take when a streaming RPC returns an error.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-07 UTC."],[[["This webpage provides documentation for the `ResumePolicy` class within the Google Cloud Storage C++ client library, specifically detailing its implementation across various library versions."],["The latest version of the `ResumePolicy` documentation available is 2.37.0-rc, with a range of historical versions also accessible, from 2.36.0 down to 2.11.0."],["The `ResumePolicy` class controls how the client library manages the resumption of uploads and downloads, allowing for customization of this process."],["Key functionalities of `ResumePolicy` include `OnStartSuccess()`, which notifies the policy of successful connections, and `OnFinish(Status const &)`, which determines actions upon encountering streaming RPC errors."]]],[]]