In a small number of operations it is convenient to override the project id configured in a storage::Client. This option overrides the project id, without requiring additional overloads for each function.
[[["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-04-02 UTC."],[[["This webpage provides documentation for various versions of the `OverrideDefaultProject` feature within the Google Cloud Storage C++ library, ranging from version 2.11.0 to the latest release candidate 2.37.0-rc."],["The `OverrideDefaultProject` feature allows users to temporarily specify a different project ID for certain storage operations, instead of using the default project ID set in the `storage::Client`."],["The `name()` function, a static member of `OverrideDefaultProject`, returns a `char const *`, as indicated by the documentation table."],["The available versions of the `OverrideDefaultProject` class are listed in reverse chronological order, with the latest version, 2.37.0-rc, at the top and the older versions listed below."]]],[]]