xds_api/generated/
envoy.config.grpc_credential.v3.rs

1// This file is @generated by prost-build.
2#[derive(Clone, PartialEq, ::prost::Message)]
3pub struct AwsIamConfig {
4    /// The `service namespace
5    /// <<https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces>`_>
6    /// of the Grpc endpoint.
7    ///
8    /// Example: appmesh
9    #[prost(string, tag = "1")]
10    pub service_name: ::prost::alloc::string::String,
11    /// The `region <<https://docs.aws.amazon.com/general/latest/gr/rande.html>`_> hosting the Grpc
12    /// endpoint. If unspecified, the extension will use the value in the ``AWS_REGION`` environment
13    /// variable.
14    ///
15    /// Example: us-west-2
16    #[prost(string, tag = "2")]
17    pub region: ::prost::alloc::string::String,
18}
19impl ::prost::Name for AwsIamConfig {
20    const NAME: &'static str = "AwsIamConfig";
21    const PACKAGE: &'static str = "envoy.config.grpc_credential.v3";
22    fn full_name() -> ::prost::alloc::string::String {
23        "envoy.config.grpc_credential.v3.AwsIamConfig".into()
24    }
25    fn type_url() -> ::prost::alloc::string::String {
26        "type.googleapis.com/envoy.config.grpc_credential.v3.AwsIamConfig".into()
27    }
28}
29#[derive(Clone, PartialEq, ::prost::Message)]
30pub struct FileBasedMetadataConfig {
31    /// Location or inline data of secret to use for authentication of the Google gRPC connection
32    /// this secret will be attached to a header of the gRPC connection
33    #[prost(message, optional, tag = "1")]
34    pub secret_data: ::core::option::Option<super::super::core::v3::DataSource>,
35    /// Metadata header key to use for sending the secret data
36    /// if no header key is set, "authorization" header will be used
37    #[prost(string, tag = "2")]
38    pub header_key: ::prost::alloc::string::String,
39    /// Prefix to prepend to the secret in the metadata header
40    /// if no prefix is set, the default is to use no prefix
41    #[prost(string, tag = "3")]
42    pub header_prefix: ::prost::alloc::string::String,
43}
44impl ::prost::Name for FileBasedMetadataConfig {
45    const NAME: &'static str = "FileBasedMetadataConfig";
46    const PACKAGE: &'static str = "envoy.config.grpc_credential.v3";
47    fn full_name() -> ::prost::alloc::string::String {
48        "envoy.config.grpc_credential.v3.FileBasedMetadataConfig".into()
49    }
50    fn type_url() -> ::prost::alloc::string::String {
51        "type.googleapis.com/envoy.config.grpc_credential.v3.FileBasedMetadataConfig"
52            .into()
53    }
54}