bookmark_borderbookmark
Stay organized with collections
Save and categorize content based on your preferences.
[](std::string const& keyfile){ auto is = std::ifstream(keyfile); is.exceptions(std::ios::badbit);// Minimal error handling in examples auto contents = std::string(std::istreambuf_iterator<char>(is.rdbuf()),{}); auto options = google::cloud::Options{}.set<google::cloud::UnifiedCredentialsOption>( google::cloud::MakeServiceAccountCredentials(contents)); return google::cloud::dataproc_v1::NodeGroupControllerClient( google::cloud::dataproc_v1::MakeNodeGroupControllerConnection( "us-west1"/* regional service region */, options)); }
[[["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-23 UTC."],[[["This page provides documentation for various versions of the `dataproc_v1_1_1NodeGroupControllerClient` C++ library."],["Version 2.37.0-rc is the most recent release candidate, with 2.23.0 being the lowest documented version."],["Each linked version corresponds to documentation regarding the `NodeGroupControllerClient`'s service account snippet."],["The page includes an example demonstrating how to override the default authentication for `dataproc_v1::NodeGroupControllerClient` using a service account key file."],["The snippet showcases an example of setting the `UnifiedCredentialsOption` with a `ServiceAccountCredentials` and creating a `NodeGroupControllerClient`."]]],[]]