Skip to main content

google_cloud_gax_internal/
lib.rs

1// Copyright 2025 Google LLC
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//     https://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15//! Implementation details for Google Cloud clients.
16//!
17//! All the types, traits, and functions defined in this crate are **not**
18//! intended for general use. This crate will remain unstable for the
19//! foreseeable future, even if used in the implementation for stable client
20//! libraries. We (the Google Cloud Client Libraries for Rust team) control
21//! both and will change both if needed.
22//!
23//! The types, traits, and functions defined in this crate are undocumented.
24//! This is intentional, as they are not intended for general use and will be
25//! changed without notice.
26
27#[cfg(feature = "_internal-common")]
28pub mod api_header;
29
30#[cfg(feature = "_internal-common")]
31pub mod as_inner;
32
33#[cfg(feature = "_internal-http-client")]
34pub mod attempt_info;
35
36#[cfg(feature = "_internal-common")]
37pub mod path_parameter;
38
39#[cfg(feature = "_internal-http-client")]
40pub mod query_parameter;
41
42#[cfg(feature = "_internal-http-client")]
43pub mod http;
44
45#[cfg(any(feature = "_internal-http-client", feature = "_internal-grpc-client"))]
46pub mod observability;
47
48#[cfg(feature = "_internal-grpc-client")]
49pub mod grpc;
50
51#[cfg(feature = "_internal-grpc-client")]
52pub mod prost;
53
54#[cfg(feature = "_internal-common")]
55pub mod options;
56
57#[cfg(feature = "_internal-common")]
58pub mod unimplemented;
59
60#[cfg(feature = "_internal-common")]
61pub mod routing_parameter;
62
63#[cfg(any(feature = "_internal-http-client", feature = "_internal-grpc-client"))]
64pub(crate) mod host;
65
66#[cfg(feature = "_internal-grpc-client")]
67pub(crate) mod google {
68    pub mod rpc {
69        include!("generated/protos/rpc/google.rpc.rs");
70        include!("generated/convert/rpc/convert.rs");
71    }
72}