# Override generativelanguage_v1::GenerativeServiceClient Endpoint Configuration

      // 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));