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::MetadataServiceClient( google::cloud::aiplatform_v1::MakeMetadataServiceConnection( "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-07 UTC."],[[["The latest release candidate version available is 2.37.0-rc."],["This page provides access to documentation for multiple versions of the `aiplatform` service, ranging from version 2.12.0 up to 2.37.0-rc."],["The documentation includes code examples demonstrating how to override default authentication settings for the `aiplatform_v1::MetadataServiceClient`."],["The example given showcases using a keyfile to set the service account credentials for the `MetadataServiceClient`."],["The documented content covers details on how to define the regional service region during the creation of a `MetadataServiceClient`."]]],[]]