#![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 = "data-foundry-service",
feature = "dataset-service",
feature = "deployment-resource-pool-service",
feature = "endpoint-service",
feature = "evaluation-service",
feature = "feature-online-store-admin-service",
feature = "feature-online-store-service",
feature = "feature-registry-service",
feature = "featurestore-online-serving-service",
feature = "featurestore-service",
feature = "gen-ai-cache-service",
feature = "gen-ai-tuning-service",
feature = "index-endpoint-service",
feature = "index-service",
feature = "job-service",
feature = "llm-utility-service",
feature = "match-service",
feature = "metadata-service",
feature = "migration-service",
feature = "model-garden-service",
feature = "model-service",
feature = "notebook-service",
feature = "persistent-resource-service",
feature = "pipeline-service",
feature = "prediction-service",
feature = "reasoning-engine-execution-service",
feature = "reasoning-engine-service",
feature = "schedule-service",
feature = "session-service",
feature = "specialist-pool-service",
feature = "tensorboard-service",
feature = "vertex-rag-data-service",
feature = "vertex-rag-service",
feature = "vizier-service",
))]
const DEFAULT_HOST: &str = "https://aiplatform.googleapis.com/";
#[cfg(any(
feature = "data-foundry-service",
feature = "dataset-service",
feature = "deployment-resource-pool-service",
feature = "endpoint-service",
feature = "evaluation-service",
feature = "feature-online-store-admin-service",
feature = "feature-online-store-service",
feature = "feature-registry-service",
feature = "featurestore-online-serving-service",
feature = "featurestore-service",
feature = "gen-ai-cache-service",
feature = "gen-ai-tuning-service",
feature = "index-endpoint-service",
feature = "index-service",
feature = "job-service",
feature = "llm-utility-service",
feature = "match-service",
feature = "metadata-service",
feature = "migration-service",
feature = "model-garden-service",
feature = "model-service",
feature = "notebook-service",
feature = "persistent-resource-service",
feature = "pipeline-service",
feature = "prediction-service",
feature = "reasoning-engine-execution-service",
feature = "reasoning-engine-service",
feature = "schedule-service",
feature = "session-service",
feature = "specialist-pool-service",
feature = "tensorboard-service",
feature = "vertex-rag-data-service",
feature = "vertex-rag-service",
feature = "vizier-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;