bookmark_borderbookmark
Stay organized with collections
Save and categorize content based on your preferences.
// This configuration is common with Private Google Access: // https://cloud.google.com/vpc/docs/private-google-access auto options = google::cloud::Options{}.set<google::cloud::EndpointOption>( "private.googleapis.com"); auto client = google::cloud::generativelanguage_v1::GenerativeServiceClient( google::cloud::generativelanguage_v1::MakeGenerativeServiceConnection( 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 code snippet demonstrates how to configure the `GenerativeServiceClient` to use a specific endpoint."],["The configuration shown is compatible with Private Google Access."],["The `private.googleapis.com` endpoint is specified using the `EndpointOption`."],["A `GenerativeServiceClient` is created using a connection made with these custom options."]]],[]]