bookmark_borderbookmark
Stay organized with collections
Save and categorize content based on your preferences.
See more code actions.
Light code theme
Dark code theme
[](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::aiplatform_v1::PipelineServiceClient( google::cloud::aiplatform_v1::MakePipelineServiceConnection( "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-01-08 UTC."],[],[]]