// 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::sql_v1::SqlEventsServiceClient(
google::cloud::sql_v1::MakeSqlEventsServiceConnectionRest(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 latest available version is 2.37.0-rc, which is marked as the most current release candidate."],["This page provides access to documentation for multiple versions of the SQL service, ranging from version 2.11.0 up to the latest release candidate."],["Each version listed links to specific documentation for the `sql_v1_1_1SqlEventsServiceClient-endpoint-snippet`."],["The provided code snippet shows how to override the `sql_v1::SqlEventsServiceClient` endpoint configuration to use a custom endpoint, specifically `private.googleapis.com`."],["The configuration example is directly related to Private Google Access and demonstrates how to set up a private connection."]]],[]]