[[["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-03-21 UTC."],[[["This page provides documentation and examples for Google Cloud Pub/Sub C++ client library versions, ranging from 2.11.0 to the latest release candidate 2.37.0-rc."],["You can override the default authentication mechanism using `google::cloud::UnifiedCredentialsOption`, as demonstrated with an example that explicitly loads a service account key file."],["The example code on this page showcases how to create a Pub/Sub publisher that utilizes service account credentials via a key file, with a reminder to consult the best practices for managing such keys."],["Further examples for service account usage are available for other Pub/Sub client classes, including `Subscriber`, `BlockingPublisher`, and various admin clients, accessible through linked documentation."],["The provided documentation will enable the user to have a clear understanding of authentication components, and how to use the service account through the usage of the `google::cloud::Credentials`."]]],[]]