// 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::kms_v1::KeyManagementServiceClient(
google::cloud::kms_v1::MakeKeyManagementServiceConnection(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-14 UTC."],[[["This webpage provides access to various versions of the KeyManagementServiceClient endpoint snippet, ranging from version 2.10.1 up to the latest release candidate 2.37.0-rc."],["Each listed version links to its respective documentation page, specifically related to the `kms_v1_1_1KeyManagementServiceClient-endpoint-snippet`."],["The page includes a code snippet demonstrating how to override the `kms_v1::KeyManagementServiceClient` endpoint configuration, specifically for use with Private Google Access."],["The code example shows how to set the endpoint to \"private.googleapis.com\" within the `google::cloud::Options` and apply it to the client connection."]]],[]]