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::aiplatform_v1::EvaluationServiceClient( google::cloud::aiplatform_v1::MakeEvaluationServiceConnection( "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-03-21 UTC."],[[["The webpage provides documentation and code snippets for different versions of the `aiplatform_v1_1_1EvaluationServiceClient`, ranging from version 2.12.0 to the latest release candidate 2.37.0-rc."],["Each version listed links to a specific page containing information about overriding the default authentication settings for the `EvaluationServiceClient` using the service account method."],["The `Override aiplatform_v1::EvaluationServiceClient Authentication Defaults` section illustrates how to create a client with a service account credential, overriding default credential behavior, using C++."],["The snippet specifically creates a client using the service account credentials method, and makes use of `MakeEvaluationServiceConnection` to create a client within a region, in this case `us-west1`."],["The current default version is listed as 2.36.0, while the most up to date version is the 2.37.0-rc, which is a release candidate version."]]],[]]