# Override vectorsearch_v1::DataObjectServiceClient Endpoint Configuration

3.7.0-rc 3.6.0 (latest) 3.5.0 3.4.0 3.3.0

      // 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 vpc_client = google::cloud::vectorsearch_v1::DataObjectServiceClient(
          google::cloud::vectorsearch_v1::MakeDataObjectServiceConnection(options));