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::NotebookServiceClient( google::cloud::aiplatform_v1::MakeNotebookServiceConnection( "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."],[[["This webpage provides access to documentation for various versions of the `aiplatform_v1_1_1NotebookServiceClient`, ranging from version 2.12.0 up to the latest release candidate, 2.37.0-rc."],["Each version listed, such as 2.36.0 or 2.26.0, contains documentation related to overriding `aiplatform_v1::NotebookServiceClient` authentication defaults."],["The latest version provided on this page is version 2.37.0-rc and a link is available to see the documentation regarding this version."],["The code snippet provided illustrates how to override authentication defaults by providing a keyfile to `MakeServiceAccountCredentials`."],["The code example shows how to construct a `NotebookServiceClient` with a specific regional service region, in this case, `us-west1`, using customized authentication options."]]],[]]