Override retail_v2::PredictionServiceClient Endpoint Configuration

See more code actions.
  // 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::retail_v2::PredictionServiceClient(
      google
::cloud::retail_v2::MakePredictionServiceConnection(options));