#![cfg_attr(docsrs, feature(doc_cfg))]
#![allow(deprecated)]
#[allow(clippy::module_inception)]
pub mod model;
pub use google_cloud_gax::Result;
pub use google_cloud_gax::error::Error;
#[allow(rustdoc::invalid_html_tags)]
#[allow(rustdoc::redundant_explicit_links)]
pub mod stub;
pub mod client;
pub mod builder;
#[doc(hidden)]
pub(crate) mod tracing;
#[doc(hidden)]
pub(crate) mod transport;
#[cfg(any(
feature = "assistant-service",
feature = "cmek-config-service",
feature = "completion-service",
feature = "control-service",
feature = "conversational-search-service",
feature = "data-store-service",
feature = "document-service",
feature = "engine-service",
feature = "grounded-generation-service",
feature = "identity-mapping-store-service",
feature = "project-service",
feature = "rank-service",
feature = "recommendation-service",
feature = "schema-service",
feature = "search-service",
feature = "search-tuning-service",
feature = "serving-config-service",
feature = "session-service",
feature = "site-search-engine-service",
feature = "user-event-service",
feature = "user-license-service",
))]
const DEFAULT_HOST: &str = "https://discoveryengine.googleapis.com/";
#[cfg(any(
feature = "assistant-service",
feature = "cmek-config-service",
feature = "completion-service",
feature = "control-service",
feature = "conversational-search-service",
feature = "data-store-service",
feature = "document-service",
feature = "engine-service",
feature = "grounded-generation-service",
feature = "identity-mapping-store-service",
feature = "project-service",
feature = "rank-service",
feature = "recommendation-service",
feature = "schema-service",
feature = "search-service",
feature = "search-tuning-service",
feature = "serving-config-service",
feature = "session-service",
feature = "site-search-engine-service",
feature = "user-event-service",
feature = "user-license-service",
))]
pub(crate) mod info {
const NAME: &str = env!("CARGO_PKG_NAME");
const VERSION: &str = env!("CARGO_PKG_VERSION");
pub(crate) static X_GOOG_API_CLIENT_HEADER: std::sync::LazyLock<String> =
std::sync::LazyLock::new(|| {
let ac = gaxi::api_header::XGoogApiClient {
name: NAME,
version: VERSION,
library_type: gaxi::api_header::GAPIC,
};
ac.rest_header_value()
});
}
pub(crate) use google_cloud_gax::client_builder::ClientBuilder;
pub(crate) use google_cloud_gax::client_builder::Result as ClientBuilderResult;
pub(crate) use google_cloud_gax::client_builder::internal::ClientFactory;
pub(crate) use google_cloud_gax::client_builder::internal::new_builder as new_client_builder;
pub(crate) use google_cloud_gax::options::RequestOptions;
pub(crate) use google_cloud_gax::options::internal::RequestBuilder;
pub(crate) use google_cloud_gax::response::Response;