#![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 = "accelerator-types",
feature = "addresses",
feature = "advice",
feature = "autoscalers",
feature = "backend-buckets",
feature = "backend-services",
feature = "cross-site-networks",
feature = "disk-types",
feature = "disks",
feature = "external-vpn-gateways",
feature = "firewall-policies",
feature = "firewalls",
feature = "forwarding-rules",
feature = "future-reservations",
feature = "global-addresses",
feature = "global-forwarding-rules",
feature = "global-network-endpoint-groups",
feature = "global-operations",
feature = "global-organization-operations",
feature = "global-public-delegated-prefixes",
feature = "health-checks",
feature = "http-health-checks",
feature = "https-health-checks",
feature = "image-family-views",
feature = "images",
feature = "instance-group-manager-resize-requests",
feature = "instance-group-managers",
feature = "instance-groups",
feature = "instance-settings",
feature = "instance-templates",
feature = "instances",
feature = "instant-snapshot-groups",
feature = "instant-snapshots",
feature = "interconnect-attachment-groups",
feature = "interconnect-attachments",
feature = "interconnect-groups",
feature = "interconnect-locations",
feature = "interconnect-remote-locations",
feature = "interconnects",
feature = "license-codes",
feature = "licenses",
feature = "machine-images",
feature = "machine-types",
feature = "network-attachments",
feature = "network-edge-security-services",
feature = "network-endpoint-groups",
feature = "network-firewall-policies",
feature = "network-profiles",
feature = "networks",
feature = "node-groups",
feature = "node-templates",
feature = "node-types",
feature = "organization-security-policies",
feature = "packet-mirrorings",
feature = "preview-features",
feature = "projects",
feature = "public-advertised-prefixes",
feature = "public-delegated-prefixes",
feature = "region-autoscalers",
feature = "region-backend-buckets",
feature = "region-backend-services",
feature = "region-commitments",
feature = "region-composite-health-checks",
feature = "region-disk-types",
feature = "region-disks",
feature = "region-health-aggregation-policies",
feature = "region-health-check-services",
feature = "region-health-checks",
feature = "region-health-sources",
feature = "region-instance-group-manager-resize-requests",
feature = "region-instance-group-managers",
feature = "region-instance-groups",
feature = "region-instance-templates",
feature = "region-instances",
feature = "region-instant-snapshot-groups",
feature = "region-instant-snapshots",
feature = "region-network-endpoint-groups",
feature = "region-network-firewall-policies",
feature = "region-notification-endpoints",
feature = "region-operations",
feature = "region-security-policies",
feature = "region-snapshot-settings",
feature = "region-snapshots",
feature = "region-ssl-certificates",
feature = "region-ssl-policies",
feature = "region-target-http-proxies",
feature = "region-target-https-proxies",
feature = "region-target-tcp-proxies",
feature = "region-url-maps",
feature = "region-zones",
feature = "regions",
feature = "reservation-blocks",
feature = "reservation-slots",
feature = "reservation-sub-blocks",
feature = "reservations",
feature = "resource-policies",
feature = "routers",
feature = "routes",
feature = "security-policies",
feature = "service-attachments",
feature = "snapshot-settings",
feature = "snapshots",
feature = "ssl-certificates",
feature = "ssl-policies",
feature = "storage-pool-types",
feature = "storage-pools",
feature = "subnetworks",
feature = "target-grpc-proxies",
feature = "target-http-proxies",
feature = "target-https-proxies",
feature = "target-instances",
feature = "target-pools",
feature = "target-ssl-proxies",
feature = "target-tcp-proxies",
feature = "target-vpn-gateways",
feature = "url-maps",
feature = "vpn-gateways",
feature = "vpn-tunnels",
feature = "wire-groups",
feature = "zone-operations",
feature = "zone-vm-extension-policies",
feature = "zones",
))]
const DEFAULT_HOST: &str = "https://compute.googleapis.com/";
#[cfg(any(
feature = "accelerator-types",
feature = "addresses",
feature = "advice",
feature = "autoscalers",
feature = "backend-buckets",
feature = "backend-services",
feature = "cross-site-networks",
feature = "disk-types",
feature = "disks",
feature = "external-vpn-gateways",
feature = "firewall-policies",
feature = "firewalls",
feature = "forwarding-rules",
feature = "future-reservations",
feature = "global-addresses",
feature = "global-forwarding-rules",
feature = "global-network-endpoint-groups",
feature = "global-operations",
feature = "global-organization-operations",
feature = "global-public-delegated-prefixes",
feature = "health-checks",
feature = "http-health-checks",
feature = "https-health-checks",
feature = "image-family-views",
feature = "images",
feature = "instance-group-manager-resize-requests",
feature = "instance-group-managers",
feature = "instance-groups",
feature = "instance-settings",
feature = "instance-templates",
feature = "instances",
feature = "instant-snapshot-groups",
feature = "instant-snapshots",
feature = "interconnect-attachment-groups",
feature = "interconnect-attachments",
feature = "interconnect-groups",
feature = "interconnect-locations",
feature = "interconnect-remote-locations",
feature = "interconnects",
feature = "license-codes",
feature = "licenses",
feature = "machine-images",
feature = "machine-types",
feature = "network-attachments",
feature = "network-edge-security-services",
feature = "network-endpoint-groups",
feature = "network-firewall-policies",
feature = "network-profiles",
feature = "networks",
feature = "node-groups",
feature = "node-templates",
feature = "node-types",
feature = "organization-security-policies",
feature = "packet-mirrorings",
feature = "preview-features",
feature = "projects",
feature = "public-advertised-prefixes",
feature = "public-delegated-prefixes",
feature = "region-autoscalers",
feature = "region-backend-buckets",
feature = "region-backend-services",
feature = "region-commitments",
feature = "region-composite-health-checks",
feature = "region-disk-types",
feature = "region-disks",
feature = "region-health-aggregation-policies",
feature = "region-health-check-services",
feature = "region-health-checks",
feature = "region-health-sources",
feature = "region-instance-group-manager-resize-requests",
feature = "region-instance-group-managers",
feature = "region-instance-groups",
feature = "region-instance-templates",
feature = "region-instances",
feature = "region-instant-snapshot-groups",
feature = "region-instant-snapshots",
feature = "region-network-endpoint-groups",
feature = "region-network-firewall-policies",
feature = "region-notification-endpoints",
feature = "region-operations",
feature = "region-security-policies",
feature = "region-snapshot-settings",
feature = "region-snapshots",
feature = "region-ssl-certificates",
feature = "region-ssl-policies",
feature = "region-target-http-proxies",
feature = "region-target-https-proxies",
feature = "region-target-tcp-proxies",
feature = "region-url-maps",
feature = "region-zones",
feature = "regions",
feature = "reservation-blocks",
feature = "reservation-slots",
feature = "reservation-sub-blocks",
feature = "reservations",
feature = "resource-policies",
feature = "routers",
feature = "routes",
feature = "security-policies",
feature = "service-attachments",
feature = "snapshot-settings",
feature = "snapshots",
feature = "ssl-certificates",
feature = "ssl-policies",
feature = "storage-pool-types",
feature = "storage-pools",
feature = "subnetworks",
feature = "target-grpc-proxies",
feature = "target-http-proxies",
feature = "target-https-proxies",
feature = "target-instances",
feature = "target-pools",
feature = "target-ssl-proxies",
feature = "target-tcp-proxies",
feature = "target-vpn-gateways",
feature = "url-maps",
feature = "vpn-gateways",
feature = "vpn-tunnels",
feature = "wire-groups",
feature = "zone-operations",
feature = "zone-vm-extension-policies",
feature = "zones",
))]
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;
#[allow(missing_docs)]
pub mod errors;
#[allow(missing_docs)]
pub mod operation;